ittoolkit.dev
DEVELOPMENT
MySQL/MariaDB user generator
Generate SQL to create a database user and grant selected privileges on one database or globally.
CHANGE_ME is a placeholder. Replace it here with a strong password. Backslashes and control characters are not allowed so the SQL remains valid across SQL modes.
SQL output
-- Create the user account if it does not exist (an existing password is not changed) CREATE USER IF NOT EXISTS 'app_user'@'localhost' IDENTIFIED BY 'CHANGE_ME'; -- Grant the selected privileges GRANT SELECT, INSERT, UPDATE, DELETE ON `app\_db`.* TO 'app_user'@'localhost';
The output contains the password in plain text. Keep it confidential and execute it only over a trusted connection.
SQL is generated in your browser and is never transmitted.