Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Unable to connect to database server!


Recommended Posts

I am new to this and I made mysql database and installed oscommerce. All the installation went great but when I click on the adminitration tool it gave me an error messege that says


Warning: mysql_pconnect(): Unknown MySQL Server Host 'mysql04.powweb.com ' (1) in /www/b/bauti1428/htdocs/cdstore/catalog/admin/includes/functions/database.php on line 17

Unable to connect to database server!


why did it give me this error? I check on all the rights for this user and eveything was set to allow all.


Please somebody get back to me when you get a chance.



Link to comment
Share on other sites

Hey Roberto,


Check the settings to the db in /admin/includes/configure.php


verify at the bottom of the file:


define('DB_SERVER', 'localhost'); // eg, localhost

define('DB_SERVER_USERNAME', 'your-use-name');

define('DB_SERVER_PASSWORD', 'your-pwd');

define('DB_DATABASE', 'your-db-name')


Is the catalog side working ok?


The settings above should match those in catalog/includes/configure.php



How do you know when you know what you want to do for the rest of your life?

Link to comment
Share on other sites


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

  • Create New...