Aug 13, 2000 #1 gooky Programmer Aug 13, 2000 1 DK Anyone know how to give column privileges to a user? Can you do it at all?
Aug 24, 2000 #2 devnull22 Programmer Aug 24, 2000 103 CA Hi gooky, try this. mysql> mysql -u user_id -p mysql mysql> INSERT INTO tables_priv (Host,DB,User,Table_name,Column_priv) VALUES ('localhost','mydb_name','user_id','table_name', 'Select,Insert,Update'); mysql> flush privileges note : that user_id should already be able to login to the sqlserver. Cheers Ken -------------------------------------------------------- http://www.mysqlwebring.com-------------------------------------------------------- Upvote 0 Downvote
Hi gooky, try this. mysql> mysql -u user_id -p mysql mysql> INSERT INTO tables_priv (Host,DB,User,Table_name,Column_priv) VALUES ('localhost','mydb_name','user_id','table_name', 'Select,Insert,Update'); mysql> flush privileges note : that user_id should already be able to login to the sqlserver. Cheers Ken -------------------------------------------------------- http://www.mysqlwebring.com--------------------------------------------------------