imran Posted February 25, 2004 Share Posted February 25, 2004 database connection is abosolutely fine and my config. Rest everything is working normally but when i click on online catalog its not coming...this is what i get Warning: Unknown MySQL Server Host 'http' (2) in /home/virtual/site73/fst/var/www/html/catalog/includes/functions/database.php on line 20 Warning: MySQL Connection Failed: Unknown MySQL Server Host 'http' (2) in /home/virtual/site73/fst/var/www/html/catalog/includes/functions/database.php on line 20 Unable to connect to database server. even my config connection is ok..here is what it looks like : // define our database connection define('DB_SERVER', 'www.xxxxx.com'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxxx'); define('DB_DATABASE', 'xxx'); define('USE_PCONNECT','false'); define('STORE_SESSIONS', ''); ?> Link to comment Share on other sites More sharing options...
Dr. DK Posted February 25, 2004 Share Posted February 25, 2004 Try to use "localhost" as your server! :blink: ----------------------------------------------------------------------- Sincerely, Dr. DK Link to comment Share on other sites More sharing options...
imran Posted February 25, 2004 Author Share Posted February 25, 2004 I tried "localhost" ..didn't work.next..? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.