Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 23, 2011 8:58 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
As title...

I'm running phpMyAdmin 3.4.3.1 with CentOS 6, package downloaded from Remi repos.

I always be able to hide the information_schema and mysql database by editing the config.inc.php file and add this lines into it:
$cfg['Servers'][$i]['hide_db'] ="mysql|information_schema";

Now, doing this does not work.
Can you help me please?


Top
   
 Post subject:
PostPosted: Sat Jul 23, 2011 2:11 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Works for me. Are you sure it's not commented out or overridden by another line? Are you using APC with apc.stat off by any chance?

By the way, please remember that hiding databases like that won't stop a curious client from snooping around. It only hides information_schema from the menu, and doesn't prevent manually pointing your browser to it.


Top
   
 Post subject:
PostPosted: Sun Jul 24, 2011 5:06 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
no apc.

I know what the hidedb does and I want to simply hide this db from my phpmyadmin.

Is there someone who have an idea on why this command doesn't hide the information_schema?


Top
   
 Post subject:
PostPosted: Sun Jul 24, 2011 4:13 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
I'm quite sure now that my phpMyAdmin doesn't read the config.inc.php at all.
Every lines I put in isn't readed at all...

I put the config.inc.php in /usr/share/phpMyAdmin
why phpmyadmin doesn't read that file?

Thanks.


Top
   
 Post subject:
PostPosted: Sun Jul 24, 2011 5:19 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
config.inc.php belongs in /etc/phpMyAdmin under CentOS 6 with epel rpm. Resolved.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group