A
AISPL
Guest
I tried upgrade from 3.23.58 to 4.0.26 , doing rmp -Uvh for all four packages rpm(server,client,shared,devel).
Subsequently doing
-------------------------------------------------------------------------------------------------------------
# mysql --version
# mysql Ver 12.22 Distrib 4.0.26, for pc-linux-gnu (i686)
# rpm -qa | grep -i mysql
MySQL-server-4.0.26-0
MySQL-devel-4.0.26-0
php-mysql-4.3.11-2.8
perl-DBD-MySQL-2.9003-5
MySQL-shared-compat-4.0.26-0
MySQL-client-4.0.26-0
-------------------------------------------------------------------------------------------------------------
I could not connect to mysql, mysqldlog was
-----------------------------------------------------------------------------------------------------
051202 08:14:32 mysqld started
051202 8:14:32 Can't start server: Bind on TCP/IP port: Address already in use
051202 8:14:32 Do you already have another mysqld server running on port: 3306 ?
051202 8:14:32 Aborting
051202 8:14:32 /usr/sbin/mysqld: Shutdown Complete
051202 08:14:32 mysqld ended
-----------------------------------------------------------------------------------------------------------------
I serached and Followed http://www.whoopis.com/howtos/php5-mysql4-FC3-rpm.html
Error changed
---------------------------------------------------------------------------------------------------------------------
051202 08:36:24 mysqld started
Fatal error: Can't change to run as user 'mysql'. Please check that the user exists!
051202 8:36:26 Aborting
051202 8:36:26 /usr/sbin/mysqld: Shutdown Complete
051202 08:36:26 mysqld ended
------------------------------------------------------------------------------------------------------------
Then upon /sbin/reboot, error changed to
-----------------------------------------------------------------------------------------------------------
051202 22:47:54 mysqld started
051202 22:47:54 Warning: Can't create test file /var/lib/mysql/air838.lower-test
/usr/sbin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
051202 22:47:54 Aborting
051202 22:47:54 /usr/sbin/mysqld: Shutdown Complete
051202 22:47:54 mysqld ended
PS (air8383 is my server name)
Any help will be appreciated
Subsequently doing
-------------------------------------------------------------------------------------------------------------
# mysql --version
# mysql Ver 12.22 Distrib 4.0.26, for pc-linux-gnu (i686)
# rpm -qa | grep -i mysql
MySQL-server-4.0.26-0
MySQL-devel-4.0.26-0
php-mysql-4.3.11-2.8
perl-DBD-MySQL-2.9003-5
MySQL-shared-compat-4.0.26-0
MySQL-client-4.0.26-0
-------------------------------------------------------------------------------------------------------------
I could not connect to mysql, mysqldlog was
-----------------------------------------------------------------------------------------------------
051202 08:14:32 mysqld started
051202 8:14:32 Can't start server: Bind on TCP/IP port: Address already in use
051202 8:14:32 Do you already have another mysqld server running on port: 3306 ?
051202 8:14:32 Aborting
051202 8:14:32 /usr/sbin/mysqld: Shutdown Complete
051202 08:14:32 mysqld ended
-----------------------------------------------------------------------------------------------------------------
I serached and Followed http://www.whoopis.com/howtos/php5-mysql4-FC3-rpm.html
Error changed
---------------------------------------------------------------------------------------------------------------------
051202 08:36:24 mysqld started
Fatal error: Can't change to run as user 'mysql'. Please check that the user exists!
051202 8:36:26 Aborting
051202 8:36:26 /usr/sbin/mysqld: Shutdown Complete
051202 08:36:26 mysqld ended
------------------------------------------------------------------------------------------------------------
Then upon /sbin/reboot, error changed to
-----------------------------------------------------------------------------------------------------------
051202 22:47:54 mysqld started
051202 22:47:54 Warning: Can't create test file /var/lib/mysql/air838.lower-test
/usr/sbin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
051202 22:47:54 Aborting
051202 22:47:54 /usr/sbin/mysqld: Shutdown Complete
051202 22:47:54 mysqld ended
PS (air8383 is my server name)
Any help will be appreciated