摘要:
授权 show grants; //查看当前用户的权限 grant all privileges on test.* to jack@'%' identified by '123'; //为用户名jack密码123,授予test数据库所有权限 revoke all privileges on *.* 阅读全文
摘要:
一、索引优化 1,单表索引优化 建表 CREATE TABLE IF NOT EXISTS article( id INT(10) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, author_id INT(10) UNSIGNED NOT NULL, c 阅读全文