1、登陆数据库
cmd 下 "mysql -uroot -p" 然后键入密码

2、创建数据库
登陆后,"create database 数据库名"

3、删除数据库
登录后,"drop database 数据库名"

4、查看数据库个数 "show databases;"

5、选择数据库 " use 数据库名"

6、显示表
进入数据库后,"show tables"
1、登陆数据库
cmd 下 "mysql -uroot -p" 然后键入密码
2、创建数据库
登陆后,"create database 数据库名"
3、删除数据库
登录后,"drop database 数据库名"
4、查看数据库个数 "show databases;"
5、选择数据库 " use 数据库名"
6、显示表
进入数据库后,"show tables"
本文标题:Mysql 相关操作命令(win10)
本文链接:https://www.haomeiwen.com/subject/wkopkftx.html
网友评论