MySQL--Login and logout of MySQL service

method one:

Through MySQL's own client
only limited to root users

Way two:

Login: If it shows that MySQL is not an internal command, you need to configure environment variables, please refer to MySQL-Environment Variables

mysql 【-h IP地址 -P 端口号】 -u 用户名 -p(加密码)

drop out:

exit或ctrl+c

Guess you like

Origin blog.csdn.net/huangge1199/article/details/106967835