Can't Connect to Database

I've had this problem before. All I needed to do was reboot my server. Once or twice I had to log into PHPMyAdmin and repair a table.

But rebooting the server isn't working this time, and PHPMyAdmin isn't even accepting my login info now.

I'm running Ubuntu 11.04.

3 Replies

We're going to need a bit more information than that. For all we know, your database server isn't running.

Thank you. Sorry for the lack of info. I'm not too educated on server configs. I've tried running restart on mysql and got the notice:

start:Job failed to start

Here is today's error logs. I removed server name from the post this post.

[Fri Jun 08 12:48:44 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

[Fri Jun 08

12:48:44 2012] [warn] RSA server certificate CommonName (CN) `servername' does NOT match server name!?

Those errors don't necessarily have anything to do with your database running.

Would need to know what processes are running on your box from ps, perhaps the contents of netstat to see what is listening, output of log files related to the database server etc to start..

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct