安装包下载:链接:https://pan.baidu.com/s/19VNBjPDdq8zprN4kBqZMoQ 密码:1zzj
#groupadd mysql
#useradd -g mysql mysql
#tar xvfz mysql.x.x.x.tar.gz
#cd mysql.x.x.x
#./configure --prefix=/usr/local/mysql
#make
#make install
#cd /usr/local/mysql
#chown -R mysql:mysql .
#bin/mysql_install_db --user=mysql
#chown -R root .
#chown -R mysql var
#chgrp -R mysql .
#cd share/mysql
#cp mysql.server /etc/init.d/mysqld
#chkconfig --add mysqld
#service mysqld start
#export PATH=$PATH:/usr/local/mysql/bin
#mysqladmin -uroot password root //修改密码
#mysql -uroot -pxxx
//开启外部链接
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
default-character-set = utf8
character_set_server = utf8
客户端注册码
NAVD-ULQR-YD73-V3BR