This is a new debian installation. I have other php4 apps connecting to mysql DBs on this server but I cannot get moodle to connect. I can connect locally and remotely with the mysql client using the same username and password. I have tried to set the persist to false. Here is the message:
Error: Moodle could not connect to the database.
It's possible the database itself is just not working at the moment.
The admin should also check that the database details have been correctly specified in config.php
Here is the config file, I've done all the searchig and reading I can think of, any help apprecieted.
# This file has been generated by debconf
# You can find a commented config file in /usr/share/doc/moodle/
$CFG->dbtype = "mysql";
$CFG->dbhost = "localhost";
$CFG->dbname = "moodle";
$CFG->dbuser = "www-data";
$CFG->dbpass = "*****";
$CFG->dbpersist = "true";
$CFG->prefix = "mdl_";
$CFG->wwwroot = "http://www.allconet.org/moodle";
$CFG->dirroot = "/usr/share/moodle";
$CFG->dataroot = "/var/lib/moodle";
$CFG->directorypermissions = 0750;
$CFG->admin = "admin";