Jump to content
IPS Community Suite 简体中文
Sign in to follow this  
ipscn

phpMyadmin 中隐藏若干个表

Recommended Posts

本文记录如何在 phpMyAdmin 中隐藏若干个表。

 

sudo nano  /usr/share/phpmyadmin/libraries/config.default.php

隐藏单个数据库

$cfg['Servers'][$i]['hide_db'] = 'information_schema'

隐藏多个

$cfg['Servers'][$i]['hide_db'] = '(information_schema|mysql|performance_schema|performance_schema|phpmyadmin)'

不需要重启 MySQL 即可生效。

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×