Warning: long post, but I want to make sure I provide all the necessary info. I found this forum while desperately searching for solutions to my problem, and I really hope someone can help me.
My forum got hacked Thursday night and someone deleted all tables in the database. We uploaded a full backup, and I can see everything is back as it should be when I browse through phpMyAdmin. All the tables appear to be there, and the tables all have records.
The problem is that every time I click the URL to my site, I get the following message:
My server is not busy. I assume I need to re-establish remote access to the MySQL database. And that's where I am hopelessly stuck.Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.
I am not sure why the old way no longer works, but I am not very good at this stuff. The person who set up our site is no longer available; unfortunately, this person also refused to share info with the other admins when we set up our web site, kept saying, "I'll show you later," but never did. As one of the remaining admins, I have been able to manage our site adequately the last couple years, but I do most of the configuration and maintenance inside our forum via the SMF admin panel. I do backups via phpMyAdmin, but I don't do a whole lot else via the cPanel and always found the documentation a little scanty.
I am not sure why or how the connection broke. If I knew where to look, I could fix it, but I am at a total loss after searching and reading for almost 2 days now. I am now officially knee deep in information overload.
Just so no one thinks I am taking the lazy way out by begging for a solution here, I have looked through my host's documentation, knowledge base, and Flash tutorials. I have been through the cPanel documentation, as well as various links to cPanel tutorials posted on this forum. I have been to the SMF (Simple Machines) and phpAdmin forums and web sites and used Google extensively, but I am so totally stuck.
I suspect the fix is not that difficult and a simple tweak is the only thing standing in the way of getting the forum up and running again, but what is it?
Tech support at my host told me to "make sure that you have created the database user in the cPanel with the same password and granted privileges on the database "dbname_dbname." But where? And (dumb question alert!) why do I need to create a database user if one already exists?
I looked at the settings.php file in my \forum directory and, to be honest, this was the first time I had ever looked at this file, so I don't know whether or not all the db info there is as it should be. I know I did not give it the password I see there and can only assume the admin who defected did or the host reset it when they helped me get my backup in place the other night.
If anyone can PLEASE help point me in the right direction, I would be eternally grateful.
Hopefully helpful stats:
cPanel version 10 (at least I assume that's what cPanel x means)
SMF version 1.1.4.
PHP version 5.2.5
MySQL version 4.1.22-standard
Architecture i686
Operating system Linux



LinkBack URL
About LinkBacks
Reply With Quote




