Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin - Unable To Connect To Database Server


evarga

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...