Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin page


tommytsm

Recommended Posts

Good day!

 

i am using os2.2rc2a This message shown as below when i get in admin page (host\admin\index.php)

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061)

in root\admin\includes\functions\database.php on line 19

Unable to connect to database server!

 

 

 

How can i slove it?

 

Many Thanks!

Link to comment
Share on other sites

this is the exact error message I am getting:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in /home/xorkonc/public_html/malak/catalog/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

I am wondering why the user is 'mysql'@'localhost' and not the DB_SERVER_USERNAME line in the configure.php and why is it using password:NO?

Link to comment
Share on other sites

I reckon when you installed the cart the admin / includes / configure.php was not written to, this means you either have to install again, or add the datail youself.

 

mysql it the user name for default osCommerce install file. Localhost is the DB server and the NO means no password required, it should really say YES.

 

Also i set mine to show a more enigmatic messge rather than give anyone your DB username!

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...