阅读背景:

命令提示符下登录mysql数据库

来源:互联网 

C:\Users\Administrator>mysql -h localhost -P 3390 -uroot -p      (-P 后面是端口号,P是大写字母)
Enter password: *********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 55
Server version: 5.6.21-log MySQL Community Server (GPL)

Copyright (c) 2000, 2014, 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.

mysql>C:\Users\Administrator>mysql -h localhost -P 3390 




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: