Hi,
I've successfully upgraded to mysql 4.0.24-1 in FC2 and FC3, thanks scott.
The only think I'd like to say is that I needed to start the service again, as my mail accounts were failing (and everything that uses mysql).
I did it this way:
/etc/init.d/mysqld start
but in Fedora (and RedHat) you can do it also this way:
service mysqld start
INFO: You need to start mysql after upgrade to 4.0.24-1
More on the same issue...
Hi,
I have upgraded my FC2 and FC3 boxes to:
In FC3, I had to re-start mysqld after upgrade. I recommend you to upgrade this way:
In FC2, I had some more trouble with mysql-compat due to the same issue (mysqld not running after upgrade):
So I recommend you to upgrade this way:
Regards
I have upgraded my FC2 and FC3 boxes to:
Code: Select all
mysql.i386 0:4.0.24-2.rhfc3.art
mysql-compat.i386 0:4.0.24-2.rhfc3.art
mysql-devel.i386 0:4.0.24-2.rhfc3.art
mysql-server.i386 0:4.0.24-2.rhfc3.art
Code: Select all
# yum install mysql mysql-compat mysql-devel mysql-server && /etc/init.d/mysqld condrestart
Code: Select all
packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
packagemng: Unable to connect to the mysql database
System error 2: No such file or directory
packagemng: Unable to connect to the mysql database
System error 2: No such file or directory
error: %trigger(psa-7.5.2-fc2.build75050128.11) scriptlet failed, exit status 1
packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
packagemng: Unable to connect to the mysql database
...
System error 2: No such file or directory
error: %trigger(psa-7.5.2-fc2.build75050128.11) scriptlet failed, exit status 1
Code: Select all
# yum install mysql mysql-devel mysql-server && /etc/init.d/mysqld condrestart
# yum install mysql-compat && /etc/init.d/mysqld condrestart
Last edited by niel on Sun Mar 20, 2005 3:37 pm, edited 1 time in total.
I think yum works that way :|
Hi scott,
I've found 2 references to the issue, the first one is about pretty the same:
http://listman.redhat.com/archives/fedo ... 00074.html
The second one goes a bit further, but the comment from 'commander' also remarks what we are talking about:
http://www.linuxquestions.org/questions ... did=260505
So knowing that yum does so, I'd recommend to upgrade this way:
I've found 2 references to the issue, the first one is about pretty the same:
http://listman.redhat.com/archives/fedo ... 00074.html
The second one goes a bit further, but the comment from 'commander' also remarks what we are talking about:
http://www.linuxquestions.org/questions ... did=260505
So knowing that yum does so, I'd recommend to upgrade this way:
Code: Select all
# yum install mysql mysql-compat mysql-devel mysql-server && /etc/init.d/mysqld condrestart
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
yep, I know exactly what those are talking about, specifically that rpm runs a conrestart in %post, which is exactly what I disabled in -2. Meaning there is nothing in the rpm itself that would cause mysql to restart. My guess at this point is that the old rpm is triggering the restart, before the new one is installed.
-
- Forum User
- Posts: 46
- Joined: Tue Dec 14, 2004 11:03 am