Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 320 Bytes

选择数据库.md

File metadata and controls

13 lines (9 loc) · 320 Bytes

从命令提示窗口中选择MySQL数据库

在 mysql> 提示窗口中可以很简单的选择特定的数据库。你可以使用SQL命令来选择指定的数据库。

实例

以下实例选取了数据库 RUNOOB:

[root@host]# mysql -u root -p
Enter password:******
mysql> use RUNOOB;
Database changed
mysql>