停⽌命令:)567.6897,-./0$
启动命令:)567.6:;67,-./0$
C:\Windows\system32>net stop mysql$
mysql 服务正在停⽌.$
mysql 服务已成功停⽌。$
$
$
C:\Windows\system32>net start mysql$
mysql 服务正在启动$.$
mysql 服务已经启动成功。$
注意:命令后⾯没有结束符号$
mysql登录命令
mysql$-h$ip$-P$端⼜$-u$⽤户名$-p$
C:\Windows\system32>mysql -h localhost -P 3306 -u root -p$
Enter password: *******$
Welcome to the MySQL monitor. Commands end with ; or \g.$
Your MySQL connection id is 10$
Server version: 5.7.25-log MySQL Community Server (GPL)$
$
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights
reserved.$
$
Oracle is a registered trademark of Oracle Corporation and/or its$
affiliates. Other names may be trademarks of their respective$
owners.$
$
Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.$
说明:$
•
-P$⼤写的P后⾯跟上端⼜$
•
如果是登录本⾦ip和端⼜可以省略,如:$
评论12
最新资源