evarga Posted June 27, 2007 Share Posted June 27, 2007 I just installed my shop and the shop front shows up fine, but when I go to my admin page, I get the following error: Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'mysql@localhost' (Using password: NO) in /home/xunenet/public_html/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! Does anyone know how I can solve this problem? Erika Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2007 Share Posted June 27, 2007 I just installed my shop and the shop front shows up fine, but when I go to my admin page, I get the following error:Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'mysql@localhost' (Using password: NO) in /home/xunenet/public_html/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! Does anyone know how I can solve this problem? Erika Good luck getting help here! Only three people have ever responded to anything I have ever posted. >_< Link to comment Share on other sites More sharing options...
spax Posted June 27, 2007 Share Posted June 27, 2007 I just installed my shop and the shop front shows up fine, but when I go to my admin page, I get the following error:Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'mysql@localhost' (Using password: NO) in /home/xunenet/public_html/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! Does anyone know how I can solve this problem? Erika You have incorrect information in your includes/configure.php and/or admin/includes/configure.php At the bottom of those two files is where the database connection is defined, you need to enter the username and password supplied by your host when you created the database. // define our database connection define('DB_SERVER_USERNAME', 'your_username'); define('DB_SERVER_PASSWORD', 'your_password'); Link to comment Share on other sites More sharing options...
evarga Posted June 27, 2007 Author Share Posted June 27, 2007 You have incorrect information in your includes/configure.php and/or admin/includes/configure.php At the bottom of those two files is where the database connection is defined, you need to enter the username and password supplied by your host when you created the database. // define our database connection define('DB_SERVER_USERNAME', 'your_username'); define('DB_SERVER_PASSWORD', 'your_password'); WOW! THANK YOU!!! : ) I really appreciate your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.