Welcome Guest, Not a member yet? Register   Sign In
Log Mysql errors

there is a way to log all the mysql log? or increse the show error level?

im recibin
A Database Error Occurred
Unable to connect to your database server using the provided settings.

i check the databse.php and all the atributes are ok

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "maternet_db";
$db['default']['password'] = "cagaste";
$db['default']['database'] = "maternet_db";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

[eluser]James Bolongan[/eluser]
:-) Just double check all your entrys in the database configuration. If you did not change the setting of the username of your MYSQL server, the default username is root for MYSQL. Note that the username is different from the database.

thanks James Bolongan, on my localhost is root with out password and is working, but on my real hosting the config is fine, i check 10 times, there is no way to see more especific error like, username incorrect or somethig like that??

Theme © iAndrew 2016 - Forum software by © MyBB