WebFaction
Community site: login faq

Hi,

I have a problem with my wordpress blog on the website. When I'm trying to go there I see the message "Error establishing a database conenction". I was trying to check mysql server on the webfaction host and I found this error:

service mysql status /etc/init.d/mysql: line 352: /var/lib/mysql/web348.webfaction.com.pid: Permission denied ERROR! MySQL (Percona Server) is not running, but PID file exists

Hot to fix this problem? Additionally I was able to connect to mysql with my user and password.

Thanks

asked 31 May '13, 13:29

alchem1st
111
accept rate: 0%


There's no problem with the MySQL service on your shared server. You can't run "service mysql status" because you're not a root user.

I just looked up your account and checked the database credentials in your WordPress configuration, and it looks like the password that you have there is not correct. You can update your database user's password via our control panel.

permanent link

answered 31 May '13, 13:44

seanf
12.2k42136
accept rate: 37%

Thanks! Additionally, I've found great article about this problem: http://docs.webfaction.com/software/wordpress/troubleshooting.html#error-error-establishing-a-database-connection

(31 May '13, 13:51) alchem1st
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×84

question asked: 31 May '13, 13:29

question was seen: 2,810 times

last updated: 31 May '13, 13:51

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM