• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

can the same mysql user access two dbs?

E

endquote

Guest
I have multiple MySQL databases under the same domain. For all but one of them, it makes sense to have a separate user for each. However for one of the databases, I'd like all of the other users to be able to access it. If I try to add these other existing users to that db though, Plesk says I can't because they already exist. Is there any way to make this work?
 
Hi,

This cannot AFAIK be done through the Plesk-panel.

It can of course be achieved on the command-line via 'mysql' program. In this program you can assign rights for a specific user on any database.

Shell-access is necessary of course. For information please check the mysql-site for the GRANT-syntax.

Regards,

Ton
 
Back
Top