• 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.

Create database user with database.exe

J

jpboyce

Guest
I'm trying to write a script to help in provisioning hosting. I'm having a bit of trouble with adding a database user to an existing mySQL database. I create the database perfectly okay. However, when I try to run the command that will add a user I get only an F when the command prompt returns. When I check the database in the Plesk web admin area, the user has not been created. The command I have been using is:

Code:
database --update databasename -add_user databaseuser

I've also tried using the -u option instead of --update with the same result. Any help would be appreciated. Thanks.
 
Back
Top