• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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