Linux ---- install Mysql database

yum install Mysql

Execute the command: yum -y install MySQL 

Installation Services: yum -y install MySQL-Server 

Start Note: If low, then Mysql version is mysqld; if the version is high enough, then mysql

Start command: Service Start mysqld 

If you need to connect Mysql, firewalls need to open port 3306.

Newly installed Mysql password:  mysqladmin -u root password '123456'

Guess you like

Origin www.cnblogs.com/LikeTalk/p/11277324.html