摘要:
下面用到的包已放到文件里需要的可以自己下载 1.select 简单查询命令 #1.查询表中所有的数据 mysql> select * from test.student; #2.查看所有数据之前,先查看数据量 mysql> select count(*) from test.student; #3. 阅读全文
摘要:
1.insert命令 #1.插入数据之前先看表结构 mysql> desc student; + + + + + + + | Field | Type | Null | Key | Default | Extra | + + + + + + + | id | int(10) unsigned | N 阅读全文
摘要:
1.授权命令 grant #1.授权 grant all on *.* to root@'172.16.1.%' identified by '123'; #应该授权低一点的权限 grant select,update,insert on database.* to dev@'172.16.1.%' 阅读全文