robb73 Posted April 19, 2007 Share Posted April 19, 2007 Just wanted to check a couple of things. I have a simple database where SELECT is required on all tables and INSERT on only one table. Would the the right way to do this be with two GRANT statements: GRANT SELECT ON database.* TO 'user'@'localhost' IDENTIFIED BY 'password'; GRANT INSERT ON database.table TO 'user'@'localhost' IDENTIFIED BY 'password'; My second question is GRANT ALL is specified as granting all simple privileges, I'm struggling to find a list of these on the mysql website. Rob Link to comment https://forums.phpfreaks.com/topic/47723-grant-privileges/ Share on other sites More sharing options...
gluck Posted April 19, 2007 Share Posted April 19, 2007 You can do the first way. No harm Link to comment https://forums.phpfreaks.com/topic/47723-grant-privileges/#findComment-233648 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.