Page 1 of 1

Mantis not working

Posted: 30 Jul 2008, 20:40
by incrediblehelp
Mantis 1.1.2

I was messing with the config_inc.php and now I am getting this error when trying to access Mantis

SYSTEM WARNING: mysql_connect() [function.mysql-connect]: Access denied for user 'mantisdbuser'@'localhost' (using password: NO)

APPLICATION ERROR #400

Database connection failed. Error received from database was #1045: Access denied for user 'mantisdbuser'@'localhost' (using password: NO)

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

It is located here:

http://www.pywork.com/tickets/

Any help please?

Re: Mantis not working

Posted: 31 Jul 2008, 17:23
by firasnajjar
Compare the values in config_inc.php to the ones in config_inc.php.sample; this might help.

Re: Mantis not working

Posted: 31 Jul 2008, 19:45
by vzw614
Did you possibly overwrite your DB settings that were in config_inc.php?

If it worked before you started messing around with that file then you obviously made a change to the file that cause the problem. I always make a backup of the file before I make any changes, that way I can go back to known working version if I really mess something up.

Re: Mantis not working

Posted: 21 Nov 2012, 17:25
by M@rce
Check the values in config_inc.php:

$g_database_name = 'name of database ';
$g_db_username = 'user of database';
$g_db_password = 'password of database's user';


They must have the same values on phpmyadmin server.

Regards.