• Welcome to Simple Machines Community Forum. Please login or sign up.
January 28, 2022, 06:21:59 AM


Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

[solved] How to connect SMF to my database when switching servers

Started by athenagwis, December 27, 2010, 09:24:12 PM

Previous topic - Next topic


So recently I switched server hosts because of limits issues.  I got everything moved to my new host just fine, but at my old host, the place where the database resides (or whatever) setting was localhost, that is different at my new server. I know where to change this when I am logged into my admin panel, problem is my site won't connect to SMF because of this so i cannot log into my admin panel!!  Please tell me there is a way to change this in the files themselves as I have done a lot of formatting to my site and don't want to have to install a whole new forum just for this.



Go to the downloads page, grab repair_settings.php, upload it to your forum's main directory, then visit that page in the admin panel. Let's you fix all the DB settings as well as all the file paths.
No good deed goes unpunished
All helpful urges should be circumvented



I know this is a long shot, but you wouldn't happen to know how to do something similar with openx would you?