wingnut144 Posted January 13, 2009 Share Posted January 13, 2009 Ok, I set up a test folder on my server so I can make any changes on the test site before rolling them out to the live page. They use the same database (I basically just copied the working folder to a seperate folder name). The problem comes when I try to log into the admin side of the test site, I get: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in D:\home\salleboise.com\wwwroot\store2\admin\includes\functions\database.php on line 19 Unable to connect to database server! I works fine on the live site, just not the test. What do I need to do so I can get to the admin side of things on the test site? Link to comment Share on other sites More sharing options...
d4funky1 Posted January 13, 2009 Share Posted January 13, 2009 does the catalog side of the test site work? Link to comment Share on other sites More sharing options...
wingnut144 Posted January 13, 2009 Author Share Posted January 13, 2009 It seems to. You can see it at www.salleboise.com/store2/ does the catalog side of the test site work? Link to comment Share on other sites More sharing options...
d4funky1 Posted January 13, 2009 Share Posted January 13, 2009 compare your database connection info in your includes>configure.php and admin>include>configure.php to see if you have missed typed anything just check the last section 'Database Connection' Link to comment Share on other sites More sharing options...
wingnut144 Posted January 13, 2009 Author Share Posted January 13, 2009 I will check, but I didn't change anything in the files, I just renamed the folder to /store2 compare your database connection info in your includes>configure.php and admin>include>configure.php to see if you have missed typed anything just check the last section 'Database Connection' Link to comment Share on other sites More sharing options...
FIMBLE Posted January 13, 2009 Share Posted January 13, 2009 that would do it! Change the admin in your admin / includes / configure.php to store2 That is if its the admin folder you changed and not the catalog Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.