gott Posted June 29, 2007 Posted June 29, 2007 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
gott Posted June 29, 2007 Author Posted June 29, 2007 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.