Advertisement:

Author Topic: Unable to Connect - database problem  (Read 1887 times)

Offline mcb

  • Semi-Newbie
  • *
  • Posts: 64
Unable to Connect - database problem
« on: August 14, 2018, 02:20:44 PM »
I hope i can get your help.  I think i messed up the link to the current DB.  I was working on a setting up a test site, in preparation for a migration.  I didn't realize i was on my current forum site's page.  And i entered in the wrong information for the DB in the admin settings panel. 

How do i point it back to it's database?  I know that my new test database user would not be the same, so i'm confused as to why it would have made any changes in the first place.  But i obviously did a number on it, for access the site, just comes up with "Connection Problems".

Thanks for your help. 

Online d3vcho();

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 3,888
  • Gender: Male
    • frandominguez03 on GitHub
Re: Unable to Connect - database problem
« Reply #1 on: August 14, 2018, 02:23:45 PM »
What version of SMF are you using?

"Greeting Death as an old friend, they departed this life as equals."

Offline mcb

  • Semi-Newbie
  • *
  • Posts: 64
Re: Unable to Connect - database problem
« Reply #2 on: August 14, 2018, 02:25:10 PM »
Apologies, missing things in a bit of a panic.  1.1.21. 

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,300
Re: Unable to Connect - database problem
« Reply #3 on: August 14, 2018, 02:27:13 PM »
check your Settings_bak.php file, it should have the database connection details you can COPY into the Settings.php file.

Offline mcb

  • Semi-Newbie
  • *
  • Posts: 64
Re: Unable to Connect - database problem
« Reply #4 on: August 14, 2018, 02:29:23 PM »
Oh thank you so much!  That is the magic.  Whew, that freaked me out. 

I'm awake now.