Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-02-2012, 11:45 AM   #1
Registered: Jul 2012
Posts: 37

Rep: Reputation: Disabled
trying to upgrade mysql from 5.1 to 5.5 on debian

Our web server has Debian, and mysql 5.1. I wanted to upgrade it to 5.5, so I downloaded the mysql-5.5.28-debian6.0-i686.deb file. I backed up the 5.1 installation and uninstalled it with:

apt-get remove mysql-server-5.1
I used:
dpkg -i mysql-5.5.28-debian6.0-i686.deb
to install the new version, and all the files are there in

However, I can't figure out what to do to get it to run and for the webserver to be able to use it. What are the next steps?

Please help, thanks!
Old 11-02-2012, 02:23 PM   #2
Registered: Oct 2012
Location: Germany
Distribution: Ubuntu, Debian, Fedora,Windows 7
Posts: 107

Rep: Reputation: 11
Here is a tutorial that might help:

A step by step guide to upgrading to MySQL 5.5
1 members found this post helpful.
Old 11-02-2012, 02:59 PM   #3
Senior Member
Registered: Feb 2009
Posts: 4,256

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Alternately you could upgrade to Debian Wheezy, which includes MySQL 5.5 and is only a couple of months away from achieving the "Stable" designation as Squeeze's lifecycle begins to wind down.
Old 11-05-2012, 01:15 PM   #4
Registered: Jul 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
I was able to get 5.5.28 installed. Another guy copied the instructions that Ovais Tariq created on your link and added a few key things that helped me be able to get it to work:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] After Debian upgrade, MySQL will not start Spetnik Linux - Server 5 04-25-2012 07:42 AM
[SOLVED] After Debian upgrade from Lenny to Squeeze, MySQL will not start fireball1974 Linux - Server 3 03-20-2011 08:28 PM
LXer: How To Upgrade Debian Lenny (Debian 5.0) To Squeeze (Debian 6.0) On Xen VPS LXer Syndicated Linux News 0 03-09-2011 06:20 AM
Upgrade to MySQL-5.0.18 breaks PHP mysql functions MarkVickers Slackware 5 05-03-2006 01:10 AM
php-mysql dependancy problem after nitemare mysql upgrade. RHEL4 andrewc Red Hat 1 01-03-2006 05:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration