LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MySQL 4.1 upgrade (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-4-1-upgrade-271136/)

linuxhavok 12-28-2004 09:36 AM

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

Horrible Henry 12-29-2004 03:29 PM

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

linuxhavok 12-31-2004 12:09 AM

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

linuxhavok 12-31-2004 09:05 AM

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

kenji1903 01-26-2005 06:27 PM

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 ;)

KR-data 01-29-2005 07:12 AM

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 12:38 AM.