MySQL常用命令.md
链接数据库
## -h/-u这些后面没有空格
./bin/mysql -h[ip地址] -P[端口号] -u[用户名] -p[密码]
查看建表语句
show create table [table_name]
列出所有的数据库
show databases;
列出所有的表
show tables;
模糊查找表名
show tables like '
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/SQL/12907.html