• Resolved splarflord

    (@splarflord)


    Hi! I’m a total website newbie, and am terrible with pretty much anything related to them. I was trying to update wordpress today, so I decided to back up my site (for the first time). I had never even heard of phpMyAdmin, but it seemed to be the easiest way to do it according to the internet. I changed my password (since it was my first time logging in) from the random letters and numbers to something I could remember, and saved the backup. When I went back to the site, I got the ‘error establishing a database connection’ message, which after some googling appears to be because the password in my wp-config.php file no longer matches my real password. The issue is though, that this is the first I’ve heard of a wp-config file, and I can’t find it. I searched my whole computer, and all I can find is the wp-config-sample.php, and I dont remember creating a wp-config file when creating my website. This seems like common knowledge but I’m at a loss, am I looking in the wrong place, or did I miss a crucial step while making the website in the first place? Thanks.

    The site is cheesyfantasycomic.com, in case that helps at all (not sure why it would but just in case)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    The file is on your server, not your computer. To find it, you’ll need to access your server via SFTP or FTP, or a file manager in your hosting account’s control panel.

    Keep in mind that “error establishing a database connection” could also mean that your database server is offline, in which case you will need to contact your hosting provider for assistance.

    Thread Starter splarflord

    (@splarflord)

    Hi, sorry, I didn’t log on to respond until today, but thanks so much! I found it in the server and fixed it. Thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t locate wp-config.php’ is closed to new replies.