1. Install and uninstall mysql in CentOS5 (1) run the following command as the root user: yuminstallmysqlyuminstallmysql-serveryuminstallmysql-d
1. install and uninstall mysql in CentOS5 (1) run the following command as the root user: yum install mysqlyum install mysql-serveryum install mysql-d
1. Install and uninstall mysql under CentOS5
(1) run the following command as the root user:
Yum install mysql
Yum install mysql-server
Yum install mysql-devel
Yum install mysql-client
Chgrp-R mysql/var/lib/mysql
Chmod-R 770/var/lib/mysql
/Sbin/service mysqld start
(2) uninstall Mysql and execute the following command:
Yum remove mysql
(3) Note: If the prompt "insufficient space" is displayed, run yum clean all
Restart command:/sbin/service mysqld restart
Use the mysqld script to restart:/etc/inint. d/mysqld restart
Stop command:/sbin/service mysqld stop
Use the mysqld script to stop:/etc/inint. d/mysqld stop
Stop command: mysqladmin shutdown
2. Obtain the Mysql Installation File
Mysql 5.0.x
Mysql 5.1.x
Mysql 6.0.x
Select the corresponding version and download it. You do not need to register it. You can click
No thanks, just take me to the downloads!
In linux, wget can be used for download.
,