摘要: MYSQL的命令show databases; : 显示本机安装多少个数据库show databases\g : 后面加个\g与加;是一样的,都是表示一个语句的结束show tables; 显示本机有哪些表增删查改都一样--建立一个帐号,让他指定操作某个数据库,其他数据库他不被允许操作 (加红)grant all on 数据库.* to "用户名"@"localhost" identified by "密码"创建表mysql> create table student -> (id int primary key auto 阅读全文
posted @ 2012-11-10 15:46 春天又来了 阅读(353) 评论(0) 推荐(0) 编辑