Jump to content

Archived

This topic is now archived and is closed to further replies.

EverToDesign

assigning a user to a specific database

Recommended Posts

You can set the privelage that the user will have on the database.

Refer manual to set the privelage.

 

You can also store the database that the user will be accesing along with the user name and password. You can retrive this information and make him access the database thats is specified.

Share this post


Link to post
Share on other sites
Hey pretty newb question I guess but how can I assign a username/password login to mysql thats valid only for ONE Database?

 

Using the GRANT SQL statement you can create new users and GRANT them access to resources.

 

Mysql has a data dictionary in the mysql database. The admin account can see this database but other users usually can\'t. There are a couple of tables that get updated when you use the GRANT command: user and db. Between these two tables mysql handles security.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.