If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Information_Schema db available to all users

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-06, 04:24
TransaeriS TransaeriS is offline
Registered User
 
Join Date: Apr 2006
Posts: 3
Information_Schema db available to all users

Hi,

I just installed Mysql 5.0 and it all seems to be working fine except for when i create a new user it gives that user access the to the information_schema database although i have not give that user priviledges.

I searched through the docs and all the posts i could find and cannot find any reference to this problem.

Any help would be greatly appreciated.

Thanks in advance.

Richard.
Reply With Quote
  #2 (permalink)  
Old 04-28-06, 11:17
dbmab dbmab is offline
Registered User
 
Join Date: Apr 2006
Location: Denver, Co. USA
Posts: 240
If you attempt to make a change to the information_schema database, you should find that it won't let you.
Reply With Quote
  #3 (permalink)  
Old 04-29-06, 03:07
TransaeriS TransaeriS is offline
Registered User
 
Join Date: Apr 2006
Posts: 3
Yes i have found that, but is there a way to hide the database from users... letting users browse through it could introduce a security risk (dont know how but might do somehow ).
Reply With Quote
  #4 (permalink)  
Old 04-29-06, 04:10
TransaeriS TransaeriS is offline
Registered User
 
Join Date: Apr 2006
Posts: 3
Hi,
I have found how to fix this.
You just have to put $cfg['servers'][$i]['hide_db'] = 'information_schema'; in the config.inc.php file.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On