Reputation:
I am trying to create a host table in phpMyAdmin for user access and while there is this option below, I cannot find this table to add hosts nor any instructions to create one.
Am I missing something?
Field: Use Host Table Description: When host table is used, this field is ignored and values stored in Host table are used instead.
Thank you in advance
Upvotes: 5
Views: 15152
Reputation: 351
It used to be that you could use the host table (located at mysql
.host
) to define allowed hosts for a specific database. It worked something like this:
mysql
.user
table to see if the user had global INSERT privileges.mysql
.db
table to see if the user had DB specific privileges.mysql
.db
.Host
field was empty the server would look in the mysql
.host
table for any hosts that matched the Db
field of the mysql
.db
.Db
field.I can only assume that it is for legacy support.
Upvotes: 7