您的位置:首页 > 数据库 > MySQL

dos启动mysql

2015-11-11 00:49 549 查看
先切换到mysql所在的bin目录
C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql -u root -p
Enter password: ****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 22
Server version: 5.6.11-log MySQL Community Server (GPL)

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> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| db_1               |
| db_2               |
| db_3               |
| db_6               |
| db_7               |
| db_8               |
| db_9               |
| mysql              |
| performance_schema |
| sakila             |
| test               |
| world              |
+--------------------+
13 rows in set (0.43 sec)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mysql