I have been requested to create a back-end area for an existing website (on a provider's server), consisting of several tables and php pages.
This back-end area should not be accessible/visible to our normal website vistors, so a login system (php) has been developed.
I am also expected to be able to grant privileges (select, insert etc.) for those who CAN access this back-end area. However, I have no access to the mysql db on the provider's server.
Is it possible to create and use a separate table for granting privileges on my tables or can privileges only be set in the mysql db itself ?
Any suggestions/help welcome. Thx, LBox
Mysql – Grant privileges in other table than thesql table
MySQLpermissions
Related Question
- Thesql 5.1 — unknown variable ‘basedir=c:/thesql/’
- MySQL grant privileges has no effect
- MySQL Replication – Speed Up WordPress with Massive MySQL Database
- Mysql – Host not Allowed Connectivity to MySQL Server
- Mysql – restore a MySQL table from a file (non-sql) backup
- MySQL single large table vs many small tables
Best Answer
No. Grants are not defined per database (as in mongodb 2.4). mysql database is a centralized system of records for authentication etc... (just like admin database in mongodb 2.6+).
You might want to refer the document for mysql privilege system.