Anonymous Asked in Cars &Transportation ยท 2 weeks ago

How do I grant select privileges to a user in MySQL?

To accommodate granting rights to users from arbitrary hosts, MySQL supports specifying the user value in the form ' user_name '@' host_name ' . You can specify wildcards in the host name. For example, ' user_name '@'%. example.com' applies to user_name for any host in the example.com domain, and ' user_name '@'198.51.


How do I grant specific privileges to a user in MySQL?

Database-Specific Privileges To GRANT ALL privileges to a user , allowing that user full control over a specific database , use the following syntax: mysql> GRANT ALL PRIVILEGES ON database_name. * TO 'username'@'localhost';

How do I give select privileges to a DB user?

For the GUI minded people, you can:1Right click the Database in Management Studio.2Choose Properties.3Select Permissions.4If your user does not show up in the list, choose Search and type their name.5Select the user in the Users or Roles list.6In the lower window frame, Check the Select permission under the Grant column.

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours