Click to See Complete Forum and Search --> : GRANT SELECT ON *.* TO 'monty'@'%'


gert cuykens
05-14-2007, 10:22 PM
Anybody knows how to grant a specific select statement in mysql ? For example user monty can only do select * from `table` where `user`='monty' ?

mattyblah
05-15-2007, 02:25 PM
does mysql have views? you could create a view and grant them permission on that view...

gert cuykens
05-15-2007, 05:00 PM
CREATE VIEW v AS select * from `table` where `user`='monty';

Perfect thanks :)