Jump to content

mysql service drops out affecting my website


amazme

Recommended Posts

Hi Guys,

 

I'm wondering if anyone can be of assistance. I run a website through Amazon EC2 instance with mysql. Im finding every few months my website goes down with a mysql database connection error. Upon further investigation, I find the mysql service has stopped. It requires me to simply start the service again and we are back online. I did read a document some time back about having the service restart automatically when it bombs out however im unsure how to configure this.

Is anyone able to assist or recommend what I can do to overcome this problem?

 

Mark

Link to comment
Share on other sites

Have you tried to figure out why the service stopped in the first place? Checked MySQL and system error logs?

Any reason you aren't using RDS?

Hello requinix,

 

I am fairly new to sql. What commands can I use to specifically look up the logs? Are you referring to Amazon RDS? I have created a website using Joomla

Link to comment
Share on other sites

The logs aren't in MySQL... If you're going to administer a server then you need to learn how to administer a server, and one of the very first things you should learn is where log files are and how to read them.

Familiarize yourself with the files in /var/log.

 

And yes, Amazon RDS. It's their cloud database service. So you don't have to manage your own MySQL server.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.