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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-28-2004, 09:36 AM
|
#1
|
LQ Newbie
Registered: Dec 2004
Location: Metro Detroit
Posts: 5
Rep:
|
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
|
|
|
12-29-2004, 03:29 PM
|
#2
|
LQ Newbie
Registered: Dec 2004
Location: New Zealand
Distribution: Redhat 9
Posts: 5
Rep:
|
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
|
|
|
12-31-2004, 12:09 AM
|
#3
|
LQ Newbie
Registered: Dec 2004
Location: Metro Detroit
Posts: 5
Original Poster
Rep:
|
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
|
|
|
12-31-2004, 09:05 AM
|
#4
|
LQ Newbie
Registered: Dec 2004
Location: Metro Detroit
Posts: 5
Original Poster
Rep:
|
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
|
|
|
01-26-2005, 06:27 PM
|
#5
|
Member
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301
Rep:
|
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 
|
|
|
01-29-2005, 07:12 AM
|
#6
|
LQ Newbie
Registered: Nov 2004
Location: Denmark
Distribution: Slackware
Posts: 20
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|