Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column privileges

Status
Not open for further replies.

gooky

Programmer
Aug 13, 2000
1
0
0
DK
Anyone know how to give column privileges to a user? Can you do it at all?
 
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
--------------------------------------------------------
--------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top