PDA

View Full Version : YUM update Mysql


krawhitham
02-17-2005, 12:48 PM
What happened?

[root@u15178130 root]# yum update mysql
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 2 - Atomic PSA-Compatible RPMS
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Dependencies resolved
I will do the following:
[update: mysql 4.0.23a-1.rhfc2.art.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: mysql-server 4.0.23a-1.rhfc2.art.i386]
[deps: mysql-compat 4.0.23a-1.rhfc2.art.i386]
Is this ok [y/N]: y
Downloading Packages
Getting mysql-server-4.0.23a-1.rhfc2.art.i386.rpm
mysql-server-4.0.23a-1.rh 100% |=========================| 1.4 MB 00:19
Getting mysql-4.0.23a-1.rhfc2.art.i386.rpm
mysql-4.0.23a-1.rhfc2.art 100% |=========================| 7.3 MB 01:12
Getting mysql-compat-4.0.23a-1.rhfc2.art.i386.rpm
mysql-compat-4.0.23a-1.rh 100% |=========================| 243 kB 00:04
Running test transaction:
Test transaction complete, Success!
mysql 100 % done 1/5
mysql-compat 100 % done 2/5
mysql-server 100 % done 3/5
Completing update for mysql-server - 4/5
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
Updated: mysql 4.0.23a-1.rhfc2.art.i386
Dep Installed: mysql-server 4.0.23a-1.rhfc2.art.i386 mysql-compat 4.0.23a-1.rhfc2.art.i386
Transaction(s) Complete

eWebtricity
02-19-2005, 12:29 PM
Looks like the MySQL service wasn't running when it tried to connect to it for whatever reason.

Were there any other messages after that? does yum complete or just error out and/or crash?