Hi all,
It is possible to use database in mantis from different server instead of localhost?
example using this in config_inc.php:
$g_hostname = '10.0.0.239';
$g_db_type = 'mysql';
$g_database_name = 'mantisdb';
$g_db_username = 'root';
$g_db_password = '';
But in doing this I've got this error:
APPLICATION ERROR #400
Database connection failed. Error received from database was #1045: Access denied for user 'root'@'10.0.253.237' (using password: NO).
SYSTEM WARNING: 'mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'10.0.0.237' (using password: NO)' in '/var/www/html/mantis/library/adodb/drivers/adodb-mysql.inc.php' line 365
How could I fix this error? Is there any other config files that I need to change also?
Thank you in advance for your help.
Database configuration not using localhost
Moderators: Developer, Contributor
Re: Database configuration not using localhost
Hi All,
It was just a database permission problem. We grant all the permissions needed then I was able to use connect to our current mantis database.
Many thanks to David Jirman.
This problem is now solve!
It was just a database permission problem. We grant all the permissions needed then I was able to use connect to our current mantis database.
Many thanks to David Jirman.
This problem is now solve!