1 登陆
mysql -uroot -p -P3306 -h127.0.0.1
-u 后跟用户名
-p 后面跟密码,如果现在不写,后面会提示
—P后跟端口号
-h后跟服务器地址
2 退出
mysql> exit;
mysql> quit;
mysql> \q;
1 登陆
mysql -uroot -p -P3306 -h127.0.0.1
-u 后跟用户名
-p 后面跟密码,如果现在不写,后面会提示
—P后跟端口号
-h后跟服务器地址
2 退出
mysql> exit;
mysql> quit;
mysql> \q;
上一篇:同时上内网和外网
下一篇:教程资源(持续更新中)
MySQL用户管理与权限管理
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M