• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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