change the password:
1 |
|
1 2 |
|
Modified. reboot
Since the latest version of linux system, the default is Mariadb instead of mysql!
Installation using the system's own repos is simple:
yum install mariadb mariadb-server
systemctl start mariadb ==> 启动mariadb
systemctl enable mariadb ==> boot self-start
mysql_secure_installation ==> set root password, etc.
mysql -uroot -p123456 ==> Test login!
end! Author: [email protected]