mysql常用命令
时间:2017-03-01 00:44:41
收藏:0
阅读:231
1.启动停止命令:
net stat mysql
net stop mysql
2.链接数据库
>mysql.exe -hlocalhost -uroot -pABC_abc1
3.创建数据库/表
create database root
show databases;
4.查看数据库、表信息
use databases;
show tables;
create table user(name varchar(20), age int, id int)
desc user
select * from user \p;
原文:http://www.cnblogs.com/ilinuxer/p/6481631.html
评论(0)