phpMyAdmin 开启高级管理特性

phpMyAdmin 开启高级管理特性

发布日期: 20th Aug, 2014
分享:

基本流程

  1. 导入  phpmyadmin 数据库,一般会跟随各个版本的 phpMyadmin-language.zip,下载后解压缩可以找到 create_tables.sql
  2. 创建 pma 帐号
  3. 设置 pma 帐号权限
  4. 更新  config.inc.php 文件
  5. 注销 phpMyadmin,再次登录

导入 phpMyadmin 数据库

设置 pma 账户权限

GRANT USAGE ON mysql.* TO 'pma'@'localhost'; GRANT SELECT ( Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv ) ON mysql.user TO 'pma'@'localhost'; GRANT SELECT ON mysql.db TO 'pma'@'localhost'; GRANT SELECT ON mysql.host TO 'pma'@'localhost'; GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) ON mysql.tables_priv TO 'pma'@'localhost'; GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';

分享:

0 Comments

  • Dave Austin 1 day ago

    Reply

发表评论