Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: mysql_connect(): Unknown MySQL server host


plord

Recommended Posts

Hi,

 

This is getting annoying. I've installed it over again several times but it doesn't seem to work. I still get the same warning.

I'm stuck...

 

Any help would be great

 

Regards, Oliver

Link to comment
Share on other sites

You are not connecting to your database. The information for that is in your includes/configure.php file, however, you will need to do some investigating first. You will need to know if your db is called dbname or username_dbname and same goes for user name.

Link to comment
Share on other sites

You are not connecting to your database. The information for that is in your includes/configure.php file, however, you will need to do some investigating first. You will need to know if your db is called dbname or username_dbname and same goes for user name.

 

 

Also be sure you do not have any spaces..

 

I get that error sometimes so I go into my Hosting company mysql admin page and CUT-N-PASTE the names.

 

That seems to work for me.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...