Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th May 2006, 07:56
massekott massekott is offline
Junior Member
 
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to upgrade mysql to 4.1 not 5

I would like to upgrade mysql to 4.1 but not to 5. I've tried this in apt-get, but it always suggesting 5. How do you tell it which version you want?

I'm running a perfect setup Debian Sarge

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 5th May 2006, 11:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Do it like this:

Code:
apt-get install mysql-server-4.1 mysql-client-4.1 libmysqlclient14-dev
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Dennis (7th June 2008)
  #3  
Old 5th May 2006, 20:58
massekott massekott is offline
Junior Member
 
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default perfect!

Exactly what I was looking for. Worked like a charm. Thanks Falko!
Reply With Quote
  #4  
Old 6th May 2006, 22:54
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by massekott
I would like to upgrade mysql to 4.1 but not to 5. I've tried this in apt-get, but it always suggesting 5. How do you tell it which version you want?

I'm running a perfect setup Debian Sarge

Thanks.
How do you manage that apt-get suggest mysql 5 for upgrade ?
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #5  
Old 7th May 2006, 01:02
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

If during the debian sarge install, mysql 4.1 is installed instead of 4.xx , then this happens:

server201:~# mysqladmin -h server1.example.com -u root password yourrootpassword
mysqladmin: connect to server at 'server1.example.com failed
error: 'Lost connection to MySQL server during query'

Unless /etc/mysql/my.cnf is edited and commented out
bind-address = 127.0.0.1:

and mysql is restarted
/etc/init.d/mysql restart

before mysqladmin -h server1.example.com -u root password yourrootpassword
is executed
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #6  
Old 7th May 2006, 10:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Have a look here: http://www.howtoforge.com/forums/sho...r1.example.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 7th May 2006, 10:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by nenad
How do you manage that apt-get suggest mysql 5 for upgrade ?
Maybe he used backports.org?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 7th May 2006, 11:59
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
 
Default

Quote:
Originally Posted by falko
Yes, but with mysql this is passing, with 4.1 it's not.

Anyway, maybie in howto it should be noticed that one who is installing don't have to do that step.
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I upgrade php, mysql, and apache for debian phantomk Installation/Configuration 10 4th June 2007 18:01
MySQL Problems after Upgrade DiOmega Installation/Configuration 8 17th November 2006 21:35
mysql upgrade dumb-medic Installation/Configuration 16 31st March 2006 19:43
MySQL Upgrade?? toyito Installation/Configuration 3 10th February 2006 17:56
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 12:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.