Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.4.7
-
None
-
CentOS 7.6
Description
An user without any rights can creates an database, when it is called "test".
MariaDB [(none)]> create database test1;
|
ERROR 1044 (42000): Access denied for user 'foo@'localhost' to database 'test1'
|
MariaDB [(none)]> create database test;
|
Query OK, 1 row affected (0.000 sec)
|
As root:
MariaDB [(none)]> show grants for 'foo'@'localhost';
|
+-------------------------------------------------------------------------------+
|
| Grants for foo@localhost |
|
+-------------------------------------------------------------------------------+
|
| GRANT USAGE ON *.* TO 'foo'@'localhost' IDENTIFIED VIA unix_socket |
|
+-------------------------------------------------------------------------------+
|
1 row in set (0.000 sec)
|