摘要: 1.MySQL命令行新建用户//登录MYSQL@>mysql -u root -p@>密码//创建用户mysql> insert into mysql.user(Host,User,Password) values('localhost','phplamp',password('1234'));//... 阅读全文
posted @ 2015-08-13 14:40 天道酬勤,坚持! 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1 使用explain语句去查看分析结果,如 explain select * from test1 where id=1;会出现:id selecttypetable type possible_keys keykey_len ref rows extra各列其中,type=const表示通过索引... 阅读全文
posted @ 2015-08-13 11:31 天道酬勤,坚持! 阅读(231) 评论(0) 推荐(0) 编辑