- 博客(2)
- 收藏
- 关注
原创 MySQL数据库基础
数据库命令窗口打开masqlmysql -h localhost -P 3306 -u root -p-h(host 主机)表示的连接哪里的数据库-P(大写)表示端口号(3306)-u表示用户-p表示密码MySQL常见命令1、查看当前所有的数据库 show databases;2、打开指定库 use 库名3、查看当前库的所有表 show tables;4、查看其他库的所有表 show tables from 库名5、创建库 create table 表名( 列名 列名
2021-05-26 19:51:06
251
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人