所以安裝方式如下:
環境: CentOS 6.5 64bit
Step 1: Install yum repo rpm package.
# rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
Step 2: Now install the mysql server by using yum command.
# yum install mysql-server
Step 3: After installation start the mysql server
# service mysqld start
Step 4: Because the MySQL server is just installed it has blank mysql root password.
To reset the mysql root password.
# mysql_secure_installation
查詢 MySQL 版本:
# mysql -V
這樣就正確啦~~
Step 1: Install yum repo rpm package.
# rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
Step 2: Now install the mysql server by using yum command.
# yum install mysql-server
Step 3: After installation start the mysql server
# service mysqld start
Step 4: Because the MySQL server is just installed it has blank mysql root password.
To reset the mysql root password.
# mysql_secure_installation
查詢 MySQL 版本:
# mysql -V
QUOTE:
mysql Ver 14.14 Distrib 5.6.19, for Linux (x86_64) using EditLine wrapper
這樣就正確啦~~