Topic: Installation trouble

I get :

An error was encountered

--------------------------------------------------------------------------------

Unable to connect to MySQL and select database. MySQL reported: Access denied for user 'XXX'@'sXXX.lXXXX.se' (using password: YES)

The error occurred on line 44 in /www/webvol7/j1/i29kcyglgkjqgki/XXX.nu/public_html/forum/include/dblayer/mysqli.php

My webhosting service told me to use a file called php_to_mysql and put in my username and password in that file.

Re: Installation trouble

Check $db_username and $db_password variables in "<FORUM_ROOT>/config.php".

roffer wrote:

My webhosting service told me to use a file called php_to_mysql and put in my username and password in that file.

For what purposes this file is used?

Re: Installation trouble

Slavok wrote:

Check $db_username and $db_password variables in "<FORUM_ROOT>/config.php".

roffer wrote:

My webhosting service told me to use a file called php_to_mysql and put in my username and password in that file.

For what purposes this file is used?

The file should connect to mysql database on their server, but the problem was that just one ip was alowed to acess the database.

Re: Installation trouble

Contact with your web-hoster. Or, if you have MySQL administrator account, use Grant sql-statement to allow access from another ip.