Preface
This article mainly shares several common operations after MYSQL is installed.
example
1) No password is required to set up MYSQL login
mysqld_safe --user=mysql --skip-grant-tables --skip-networking service mysqld restart
2) Set mysql password
#Log in to mysql, execute the following command UPDATE mysql.user SET Password=PASSWORD('123456') where USER='root';
3) Make MYSQL accessible to the outside world
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
Portal: 2021 latest test data & major factory positions
Blogger: test to make money (a test open code farmer who is not 996 but 996)
Motto: Focus on test development and automated operation and maintenance, work hard to read, think and write, and lay financial freedom for the life of the internal volume.
Content categories: technology improvement, workplace miscellaneous talk, career development, reading and writing, investment and financial management, healthy life.
csdn:https://blog.csdn.net/ccgshigao
Blog Park: https://www.cnblogs.com/qa-freeroad/
51cto :https://blog.51cto.com/14900374
WeChat public account : test to make money (share exclusive content and resources regularly)