Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Nov 06, 2013 3:24 pm 
Offline
Newbie

Joined: Wed Nov 06, 2013 3:19 pm
Posts: 4
Just installed MySQL 5.6 on Ubuntu 12.04 LTS which is loaded on my 1GB Linode.

Following the https://library.linode.com/hosting-website guide for setting up MySQL 5.5 for a 1GB Linode directs you to change
Code:
/etc/mysql/my.cnf
to the following:

Code:
max_connections = 75
key_buffer = 32M
max_allowed_packet = 1M
thread_stack = 128K
table_cache = 32


This unfortunately doesn't appear to work with MySQL 5.6 as with this config loaded MySQL server will fail to start. What setting is causing this, and what would be the optimum settings for a 1GB Linode?

Many Thanks


Top
   
PostPosted: Wed Nov 06, 2013 3:56 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
What do your mysql logs say? They should have info about why it can't start.


Top
   
PostPosted: Wed Nov 06, 2013 4:06 pm 
Offline
Newbie

Joined: Wed Nov 06, 2013 3:19 pm
Posts: 4
Logging wasn't enabled at the time :-( to be honest the reason for it not working is more a matter of interest and trying to learn about it. I am more interested in having a sensible MySQL configuration for my server so it runs smoothly.

I'm new to all of this so still learning and going through all the set up guides etc.

Thanks


Last edited by dg1234uk on Wed Nov 06, 2013 4:08 pm, edited 1 time in total.

Top
   
PostPosted: Wed Nov 06, 2013 4:06 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Why did you upgrade? - MySQl 5.5.x ships with 12.04 LTS, going outside the normal package chain is a BAD IDEA™

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Wed Nov 06, 2013 4:11 pm 
Offline
Newbie

Joined: Wed Nov 06, 2013 3:19 pm
Posts: 4
As I have developed my site with 5.6 on my mac. (I also upgraded PHP to 5.4 :? )

Is there any particular reason why its a bad idea, or is it just not the done thing. Still getting my head around this Ubuntu world (started yesterday).


Top
   
PostPosted: Wed Nov 06, 2013 5:31 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Not just Ubuntu, but any Distro, it's always best (read - way less trouble) to stick with what's in that Distro (and that release) standard repos. Once you go outside the standard repo and it's known good/stable/secure packages, you run the risk of dependency problems, incompatible packages, etc. Plus, you then have to mark whatever packages you updated/installed by hand so that everytime you do a system update, you don't over write those "custom" packages. Sometimes you have no choice, but when you do, best to stick with what comes with the distro.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Wed Nov 06, 2013 5:36 pm 
Offline
Newbie

Joined: Wed Nov 06, 2013 3:19 pm
Posts: 4
Thanks vonskippy, I have taken your advice and rebuilt my system to 12.04 LTS and will adapt the website accordingly.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group