页次: 1
这里在命令行模式下
[root@ipbbs ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 11 Server version: 5.1.73 Source distribution Copyright (c) 2000, 2013, 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> mysql> exit Bye [root@ipbbs ~]#
mysql -u用户名 -p #回车 输入密码,就可以进入
这里-u 和 用户名之间可以有空格也可以没有。
用户名之后一定要用空格
-p 表示输入密码
需要退出的时候,输入 exit 就可以退出
ipbbs.net
离线
页次: 1