D
durodata
Guest
I tried to upgrade my mysql server from the instructions on ART, but unfortunately it didn't complete successfully
instructions
Any way how to fix it?
[root@www admin]# rpm -e MySQL-Max MySQL-server MySQL-client MySQL-shared-compat --nodeps
error: package MySQL-Max is not installed
error: package MySQL-server is not installed
error: package MySQL-client is not installed
error: package MySQL-shared-compat is not installed
[root@www admin]# yum install mysql-server mysql mysql-compat
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - Atomic Desktop
Server: Atomic Rocket Turtle - 3ES - Base OS RPMS mirror
Server: Atomic Rocket Turtle - 3ES - Project Gamera
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.0 RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.1 RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.5 RPMS
Server: Atomic Rocket Turtle - 3ES - OS Update RPMS mirror
Finding updated packages
Downloading needed headers
mysql-devel-0-4.0.24-1.rh 100% |=========================| 6.6 kB 00:00
mysql-0-4.0.24-1.rhel3.ar 100% |=========================| 12 kB 00:00
mysql-server-0-4.0.24-1.r 100% |=========================| 6.6 kB 00:00
mysql-compat-0-4.0.24-1.r 100% |=========================| 5.6 kB 00:00
Resolving dependencies
.Dependencies resolved
I will do the following:
[install: mysql-compat 4.0.24-1.rhel3.art.i386]
[update: mysql-server 4.0.24-1.rhel3.art.i386]
[update: mysql 4.0.24-1.rhel3.art.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: mysql-devel 4.0.24-1.rhel3.art.i386]
Is this ok [y/N]: y
Downloading Packages
Getting mysql-devel-4.0.24-1.rhel3.art.i386.rpm
mysql-devel-4.0.24-1.rhel 100% |=========================| 652 kB 00:06
Getting mysql-server-4.0.24-1.rhel3.art.i386.rpm
mysql-server-4.0.24-1.rhe 100% |=========================| 1.4 MB 00:13
Getting mysql-4.0.24-1.rhel3.art.i386.rpm
mysql-4.0.24-1.rhel3.art. 100% |=========================| 7.5 MB 02:16
Getting mysql-compat-4.0.24-1.rhel3.art.i386.rpm
mysql-compat-4.0.24-1.rhe 100% |=========================| 243 kB 00:04
Running test transaction:
Test transaction complete, Success!
mysql 100 % done 1/7
mysql-compat 100 % done 2/7
mysql-devel 100 % done 3/7
mysql-server 100 % done 4/7
Completing update for mysql-devel - 5/7
Completing update for mysql-server - 6/7
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-rhel3.build75050130.17) scriptlet failed, exit status 1
Installed: mysql-compat 4.0.24-1.rhel3.art.i386
Updated: mysql-server 4.0.24-1.rhel3.art.i386 mysql 4.0.24-1.rhel3.art.i386
Dep Installed: mysql-devel 4.0.24-1.rhel3.art.i386
Transaction(s) Complete
[root@www admin]#
[root@www admin]# mysql --version
mysql Ver 12.22 Distrib 4.0.24, for redhat-linux-gnu (i686)
instructions
Any way how to fix it?
[root@www admin]# rpm -e MySQL-Max MySQL-server MySQL-client MySQL-shared-compat --nodeps
error: package MySQL-Max is not installed
error: package MySQL-server is not installed
error: package MySQL-client is not installed
error: package MySQL-shared-compat is not installed
[root@www admin]# yum install mysql-server mysql mysql-compat
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - Atomic Desktop
Server: Atomic Rocket Turtle - 3ES - Base OS RPMS mirror
Server: Atomic Rocket Turtle - 3ES - Project Gamera
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.0 RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.1 RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.5 RPMS
Server: Atomic Rocket Turtle - 3ES - OS Update RPMS mirror
Finding updated packages
Downloading needed headers
mysql-devel-0-4.0.24-1.rh 100% |=========================| 6.6 kB 00:00
mysql-0-4.0.24-1.rhel3.ar 100% |=========================| 12 kB 00:00
mysql-server-0-4.0.24-1.r 100% |=========================| 6.6 kB 00:00
mysql-compat-0-4.0.24-1.r 100% |=========================| 5.6 kB 00:00
Resolving dependencies
.Dependencies resolved
I will do the following:
[install: mysql-compat 4.0.24-1.rhel3.art.i386]
[update: mysql-server 4.0.24-1.rhel3.art.i386]
[update: mysql 4.0.24-1.rhel3.art.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: mysql-devel 4.0.24-1.rhel3.art.i386]
Is this ok [y/N]: y
Downloading Packages
Getting mysql-devel-4.0.24-1.rhel3.art.i386.rpm
mysql-devel-4.0.24-1.rhel 100% |=========================| 652 kB 00:06
Getting mysql-server-4.0.24-1.rhel3.art.i386.rpm
mysql-server-4.0.24-1.rhe 100% |=========================| 1.4 MB 00:13
Getting mysql-4.0.24-1.rhel3.art.i386.rpm
mysql-4.0.24-1.rhel3.art. 100% |=========================| 7.5 MB 02:16
Getting mysql-compat-4.0.24-1.rhel3.art.i386.rpm
mysql-compat-4.0.24-1.rhe 100% |=========================| 243 kB 00:04
Running test transaction:
Test transaction complete, Success!
mysql 100 % done 1/7
mysql-compat 100 % done 2/7
mysql-devel 100 % done 3/7
mysql-server 100 % done 4/7
Completing update for mysql-devel - 5/7
Completing update for mysql-server - 6/7
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-rhel3.build75050130.17) scriptlet failed, exit status 1
Installed: mysql-compat 4.0.24-1.rhel3.art.i386
Updated: mysql-server 4.0.24-1.rhel3.art.i386 mysql 4.0.24-1.rhel3.art.i386
Dep Installed: mysql-devel 4.0.24-1.rhel3.art.i386
Transaction(s) Complete
[root@www admin]#
[root@www admin]# mysql --version
mysql Ver 12.22 Distrib 4.0.24, for redhat-linux-gnu (i686)