Install MySQL yum install mysql-server mysql php-mysql How to configure MySQL Set the MySQL service to start on boot chkconfig --levels 235 mysqld on Start the MySQL service service mysqld start Log into MySQL mysql -u root Set the root user password for all local domains SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new-password'); SET PASSWORD FOR 'root'@'localhost.localdomain' = PASSWORD('new-password'); SET PASSWORD FOR 'root'@'127.0.0.1' = PASSWORD('new-password'); Drop the Any user DROP USER ''@'localhost'; DROP USER ''@'localhost.localdomain'; Exit MySQL exit
{"appId":"wx1584ddb8196cf859","nonceStr":"fsXNG6g5CCRvunYc","timestamp":1757172074,"url":"https:\/\/m.chineseinla.com\/page_forum\/task_vtopic\/t_92108.html","signature":"e53c137f0beea1ab5b4f42ac7038bc439f486254","rawString":"jsapi_ticket=LIKLckvwlJT9cWIhEQTwfJzoAC9i202iYxncayIKHHB_FCItpv_xuhWPLUqPDCUhbLUimbxPwKM_DH3G1nrlpg&noncestr=fsXNG6g5CCRvunYc×tamp=1757172074&url=https:\/\/m.chineseinla.com\/page_forum\/task_vtopic\/t_92108.html","title":"How to install MySQL","content":"How to install MySQL","image":"https:\/\/c3.nychinaren.com\/images\/wx_share_logo.png"}