采用yum方式安装mysql

采用yum方式安装mysql 2013-08-23

[root@sample ~]# yum -y install mysql-server ← 安装MySQL配置MySQL[root@sample ~]#vim /etc/my.cnf ← 编辑MySQL的配置文件[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sock# Default to using old password format for compatibility with mysql 3.x# clients
一周排行