Centosyum install mysql and set the password (64-bit machine) CentOS
BitsCN.com
Centos yum install mysql and set the password (64-bit machine)
Yum install mysql
Yum install mysql-server
Yum install mysql-devel
Chgrp-R mysql/var/lib/mysql
Chmod-R 770/var/lib/mysql
Service mysqld start
Mysql
Set password for 'root' @ 'localhost' = PASSWORD ('secret _ password ');
If Transaction Check Error:
The following solutions can be used for errors:
Transaction Check Error:
File/usr/lib/mysql/libmysqlclient. so.15.0.0 from install of mysql-5.0.77-4.el5_5.4.i386 conflicts with file from package mysqlclient15-5.0.91-1.jason.1.i386
File/usr/lib/mysql/libmysqlclient_r.so.15.0.0 from install of mysql-5.0.77-4.el5_5.4.i386 conflicts with file from package mysqlclient15-5.0.91-1.jason.1.i386
Solution:
# Yum remove mysql-devel mysql-server
If the problem persists, use the following tricks:
Rpm-Uvh -- force mysql-5.0.77-4.el5_5.4.i386.rpm
Rpm-Uvh -- force mysql-server-5.0.77-4.el5_5.4.i386.rpm
Rpm-Uvh -- force mysql-devel-5.0.77-4.el5_5.4.i386.rpm
BitsCN.com