I want to have multiple a MySQL users to be able to issue commands like
CREATE DATABASE dbTest;
But I also want each of t
You can use
GRANT ALL PRIVILEGES ON `testuser_%` . * TO 'testuser'@'%';
to grant the user testuser
privileges on all databases with names beginning with testuser_
.
EDIT: I'm not sure if this user is now also allowed to create databases.
Yes, this allows the testuser
to create databases limited to names starting with testuser_