Support » Fixing WordPress » Word Press Stopped working

  • Hi every one, New to this forum but I have had word press installed, it worked fine for about 3 weeks and now it wouldn’t let me sign in. It keeps saying Error establishing a database connection. I’m not how or what to do now. I hope someone can help me as I dread having to replace all the the post…


Viewing 12 replies - 1 through 12 (of 12 total)
  • Don’t want to be a doom and gloom poster, but passwords and database connections don’t change on their own. Leastwise, not in my experience! You need to check the data on your wp-config.php file to make sure it correlates with what your ISP provided you. If it doesn’t, then either the ISP changed the details without telling you (possible) or someone has changed the settings (maliciously or otherwise) on your wp-config.php or that file has become corrupted on the server (also possible)

    If a third party has been able to access your server, then all kinds of nasty things may now be happening, all out of your control as they’ve locked you out. Does your FTP connection still work?

    I did have a similar problem when I moved a client’s site a little while ago. Got as far as ringing tech support (always an interesting experience) but as usual, I had several helpings of humble pie as it emerged I’d typed the password in wrong.

    @ dan.te, thanks for your quick reply, When you say FTP I assume it to be my main web page?…. If so yes it works, I an still sign to my website but not to the blog. When it first happened from the direct link in my favorites, I tried signing in from the main website and it worked, so I thought it was some server issue of something simple. But ow I cannot open the blog let alone sign in.. beats me as it is..

    I don’t know if this is important but I deleted a spam message a few days earlier… not sure if it had anything to do with it. I did not open the post I spamed it then deleted a few days later.

    OK, let’s do some terminology here. When I say ‘FTP’, I mean are you able to log on to the server using an FTP client, such as Filezilla etc, as opposed to just visiting the website through a browser. If you can do that (FTP stand for File Transfer Protocol btw) then you’ll be able to access your wp-config.php file and check the settings.

    I also note that you’re not using the very latest version of WordPress – you should sort that out really! If you can’t log into the admin to do it from there, you can do the upgrade manually via FTP. Instructions are here: I mean here

    Perhaps some one more wise than I (not hard, to be honest) can advise on whether an upgrade will clean out any nefarious code? I know it won’t sort anything in the theme itself.

    It might also be useful to know what your web address is so that folk can see it and understand better what you mean when you talk about logging in to the site etc. 🙂

    Sorry I forgot to include the site… … then th blog page. I can access my admin page, and have tried upgrading through there but it read the same. So, would try to do it manually …..

    Hey, you’re speaking to a brother here! Not that I’m sure of any imminent divine intervention… 😉

    Have we established yet whether you can view the files on the server via FTP? I think that’s where you have to start as you need to make certain that nothing on the wp-config.php file has changed.

    I have just made a FTP connection through Filezila and uploaded files into the folder and everything’s fine…. This is just a pain.

    Good to have you on hand brother….. The funny thing’s that other blogs in the same account all work fine…

    I have established connection and can view files via FTP. … I’m just thinking that some address or something has changed… not quite sure….

    Well, you need to open wp-config.php by transferring it to your computer via FTP and then opening it in your text editor. You’re looking for the following stuff:

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'database_name_here');
    /** MySQL database username */
    define('DB_USER', 'username_here');
    /** MySQL database password */
    define('DB_PASSWORD', 'password_here');
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    It’s all in the top section of the file.

    Basically, if any of the data in the MySQl settings is different to what your ISP gave you when you set up the database, then WordPress can’t work. You mentioned that you have other blogs working in the same hosting account. How many databases does your ISP allow you to have?

    we upgraded WP 3.1 on a Windows server and afterwards we wanted to put our website “under constructions” and thought that we could do that by changing the URLs. Now we can’t open the link to enter onto the admin-page anymore. The homepage itself is still available but completly changed (it looks this: and doesn’t work anymore.
    We’re hoping to get a quick answer. Thanks in advance! 🙂

    Need to start your own topic dude. Don’t hijack someone else’s. 🙂

    Oh, we’re sorry. We didn’t know that. We’ll do it right now. Can you maybe help us there?!! 🙂

    Oh, we’re sorry. We didn’t know that. We’ll do it right now. Can you maybe help us there?!! 🙂

    No worries 🙂

    Well, I’m no expert on this stuff. I can only speak from my own experience, which is limited. But having your own topic means that your question is exposed to the experts out there…

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Word Press Stopped working’ is closed to new replies.