LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-28-2004, 09:36 AM   #1
linuxhavok
LQ Newbie
 
Registered: Dec 2004
Location: Metro Detroit
Posts: 5

Rep: Reputation: 0
MySQL 4.1 upgrade


Hello

Ok, after two times trying to upgrading Fedora Core 3 to mysql 4.1!

What is the right way to upgrade. step by step to not have error's or broken dependenes to user rights with MySQL, SElinux and Feora?

I for the world of me can figure out with with Core 3, Red Hat / Fedora did upgrade to 4.1 yet.

Also, wondwring while here what other if any DID start using 4.1 already?


LH
 
Old 12-29-2004, 03:29 PM   #2
Horrible Henry
LQ Newbie
 
Registered: Dec 2004
Location: New Zealand
Distribution: Redhat 9
Posts: 5

Rep: Reputation: 0
Hi,

See the thread I started called MySQL upgrade prob on RH9 .

A fix that worked for me was to install the system without database support and then install v4.x of MySQL. As mentioned, you'll need to first install the 3.23 compatibility libraries (I think that's what they're called).

Good luck
H H
 
Old 12-31-2004, 12:09 AM   #3
linuxhavok
LQ Newbie
 
Registered: Dec 2004
Location: Metro Detroit
Posts: 5

Original Poster
Rep: Reputation: 0
A fix that worked for me was to install the system without database support and then install v4.x of MySQL. As mentioned, you'll need to first install the 3.23 compatibility libraries (I think that's what they're called).

Good luck


Hello Harry


I've tried it a couple of times!

I am a noob with Linux and have had no trouble picking it up till now! Laughing, of course most of you would say, well and this is easy also!

Maybe it's a mind block, maybe middle age, I don't really know. But I know I wont be happy till I figure it out with or without help. With help of course is much easier.


Could you give me a step by step on how you got yours up and running?

Back to reading some more!

Thanks

LH
 
Old 12-31-2004, 09:05 AM   #4
linuxhavok
LQ Newbie
 
Registered: Dec 2004
Location: Metro Detroit
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Horrible Henry
Hi,

See the thread I started called MySQL upgrade prob on RH9 .

A fix that worked for me was to install the system without database support and then install v4.x of MySQL. As mentioned, you'll need to first install the 3.23 compatibility libraries (I think that's what they're called).

Good luck
H H
Hello Horrible Henry

Here is where I'm at, I installed MySQL-shared-compat-4.1.8-0, that the url was given to first then the server and then the rest. when trying to log into mysql I still get this error? Been reading on mysql site and still same error?

[root@locahost ~]# rpm -qa | grep -i mysql
MySQL-server-4.1.8-0
MySQL-devel-4.1.8-0
MySQL-shared-compat-4.1.8-0
MySQL-client-4.1.8-0
MySQL-bench-4.1.8-0
MySQL-shared-4.1.8-0
MySQL-Max-4.1.8-0
[root@locahost ~]# mysql -root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Any help, thanks

LH
 
Old 01-26-2005, 06:27 PM   #5
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
maybe you can try stopping and restarting the mysql daemon, then
Code:
#mysql -h localhost -u root -p
Also take a look at /var/log/mysqld.log, might help
 
Old 01-29-2005, 07:12 AM   #6
KR-data
LQ Newbie
 
Registered: Nov 2004
Location: Denmark
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
I had the same problem. Try logging in as root, and make sure, that all users has read and execute permission to the folder /var/lib/mysql that worked for me.

A simple way to check if there is a possibility that this is the solution type "mysql -u root -h localhost" when logged on as root.
 
  


Reply


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
mysql 4.0.24 to mysql 4.1.12 upgrade problem tuxrules Slackware 7 08-13-2005 06:43 PM
mysql upgrade no_names_left Linux - Software 1 03-04-2005 09:30 AM
Upgrade to MySQL 4? VxJasonxV Red Hat 1 02-06-2004 03:15 PM
mySQL Upgrade from 3.23 to 4.0 SForsgren Linux - Software 6 12-29-2003 04:11 AM
How do I upgrade MySQL... correro Linux - General 1 04-16-2003 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 PM.

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