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:
I've also tried using the -u option instead of --update with the same result. Any help would be appreciated. Thanks.
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.