多个mysql的问题
答案:1 悬赏:50 手机版
解决时间 2021-02-27 21:02
- 提问者网友:像風在裏
- 2021-02-27 05:24
多个mysql的问题
最佳答案
- 五星知识达人网友:神也偏爱
- 2021-02-27 06:11
登录的时候, 要手动指定用户名.
E:MySQLMySQL Server 5.1in>mysql -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 4
Server version: 5.1.50-community MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
mysql> use test
Database changed
如果你没有加 -u 来指定的话, 那就不是 root 了...
E:MySQLMySQL Server 5.1in>mysql -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 4
Server version: 5.1.50-community MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
mysql> use test
Database changed
如果你没有加 -u 来指定的话, 那就不是 root 了...
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯