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
It is impossible to do this using permissions only .
The workaround as suggested in another answer:
GRANT ALL PRIVILEGES ON
testuser_%. * TO 'testuser'@'%';
has the problem that the users must then be very careful in naming their databases.
For example if user aaa
creates database bbb_xyz
, it can then be accessed exclusively by user bbb
but not by user aaa
.