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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About Privilieges 1

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR
Good Morning.

Will anybody have the kindness to tell me how to
create a user whose privilege will allow him to
SELECT, INSERT, DELETE only, making it impossible for
him to DROP or CREATE?

Thanks to the one who will help.

 
GRANT Select,Insert,Delete ON databasename TO user@ip;

where databasename is the name of your database, user is your username, and ip is where he will be accessing from, i.e. 10.5.34.102. If he can access from anywhere make ip "%".

HTH

Garry
 
Thanks Garry!

I was starting to think that mysql users had migrated
toward another forum/planet!

Have a good day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top