Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: Mysql_connect() [function.mysql-connect]


gott

Recommended Posts

Posted

Ok, so I run my store from a dedicated server but backed it up to my laptop (which is running lamp) so I could mess with templates at work. I backed up the sql file on the site and transfered that as well. Running phpmyadmin I made a db of the same name, user, and password and then imported the data from the real store. I changed /includes/configure.php to reflect the change of db_server by redefining db_server to localhost... but when i try to access localhost:80 it gives me the following error

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'p41mysql45.secureserver.net'

 

 

why? i redifned db_server to localhost... searching within all files the only mention of p41mysql45..... is in the sql file itself but is commented out... what is going on?

 

thank you

Posted

It turns out that when I d/l to my notebook I then copied to another directory so I would have an original copy. Well, needless to say the /includes/configure.php i modified was the one i had for safe keeping, not the one i was intending to modify to test on.

 

thank you

Archived

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

×
×
  • Create New...