1. Start the MySQL service service mysql start
2. Use the command to open login mysql
mysql -u root -p
3. Enter your password to log in
1. Start the MySQL service service mysql start
2. Use the command to open login mysql
mysql -u root -p
3. Enter your password to log in