MySQL password changed

:confused:

I hope somebody can help me, I change the password of my webhosting panel and it affect the MySQL database password, so my web page (www.zaragoza.com.mx) it’s not working.



I change the following lines in config.php



$db_host = ‘xx.xxx.xxx.xxx’;

$db_name = ‘mydatabase_name’;

$db_user = ‘myuser’;

$db_password = ‘mypassword’;



And it’s not working anyway, are there any other places where I need to change the password?



What can I do to reconfigure it again?

Hi zaragoza



Did you try “localhost”



$db_host = [COLOR=Red]‘localhost’;[/COLOR]

$db_name = ‘mydatabase_name’;

$db_user = ‘myuser’;

$db_password = ‘mypassword’;

[quote name=‘zardos’]Hi zaragoza



Did you try “localhost”



$db_host = [COLOR=Red]‘localhost’;[/COLOR]

$db_name = ‘mydatabase_name’;

$db_user = ‘myuser’;

$db_password = ‘mypassword’;[/QUOTE]



Yes, I did but it says the following



Error: Cannot connect to the database server

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

Backtrace: File: /home/zaragoza/zaragoza-www/tienda/index.php

Line: 41

Function: require

Make sure that you have :



A MySQL user with full permissions.

The correct password.

The correct database name

The MySQL user added to the database.



Obviously making sure that all these items are in config.php

Im not sure if the config.php that is located in /store cs-cart/config.php is the only place that it has to be changed if I change the password of mysql database.



Thanks!

I finally found where I need to change the password. And it was in home/store/include/ folder so now it’s working, thanks again!



www.zaragoza.com.mx