Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 20, 2011 10:59 pm 
Offline
Senior Newbie

Joined: Tue Mar 01, 2011 6:47 pm
Posts: 8
I ran
Code:
apt-get upgrade
today for the first time in a while to get the newest version of Apache and it said that there was an update to MySQL which I decided to install.

Now I am getting this prompt:
Quote:
Setting up mysql-common (5.2.8-mariadb102~lucid) ...

Configuration file `/etc/mysql/my.cnf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** my.cnf (Y/I/N/O/D/Z) [default=N] ?


I originally created the server with the Linode LAMP StackScript which evidently optimizes MySQL is some way. What do I need to look for in my.ini?

I should note that I am very good with Apache and PHP configuration, but the extent of my MySQL configuration knowledge is how to change the
Code:
lower_case_table_names
flag (on Windows it really should default to 2, otherwise it breaks compatibility with Pear MDB2).


Top
   
 Post subject:
PostPosted: Tue Sep 20, 2011 11:19 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Typing "D" at the prompt will show you the differences. If there is any configuration that you don't understand, it's usually safe to keep your existing configuration file when performing a routine apt-get upgrade. You can always track down any errors later.

By the way, do you really want MariaDB, or are you just doing a routine upgrade? It seems that you enabled a third-party repository for MariaDB, because Ubuntu Lucid (10.04) most certainly does not come with MariaDB 5.2.8. If you do not have any particular reason for wanting to use MariaDB, just disable the third-party repository, or use "apt pinning" to go back to standard MySQL 5.1.x. If you're not sure, just stick with MySQL.


Top
   
 Post subject:
PostPosted: Tue Sep 20, 2011 11:36 pm 
Offline
Senior Newbie

Joined: Tue Mar 01, 2011 6:47 pm
Posts: 8
I was actually planning to switch to MariaDB at some point since it performs much better on one of my other servers.
I will save a copy of the diff so I can revert manually if needed.

I found which admin added the MariaDB to the sources (he put it in /etc/apt/sources.list.d/mariadb.list with a name included)


Top
   
 Post subject:
PostPosted: Wed Sep 21, 2011 1:07 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
If you know what you're doing, then fine, go ahead :D

I was just trying to caution you because it sounded like you were doing a routine apt-get upgrade and MariaDB popped out of nowhere.

Tell us how it goes!


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


Who is online

Users browsing this forum: No registered users and 1 guest


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