mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
12 lines
355 B
Text
12 lines
355 B
Text
|
create database d1;
|
||
|
grant all on d1.* to 'sample'@'localhost' identified by 'password';
|
||
|
flush privileges;
|
||
|
select database();
|
||
|
database()
|
||
|
d1
|
||
|
create database d2;
|
||
|
ERROR 42000: Access denied for user 'sample'@'localhost' to database 'd2'
|
||
|
create database D1;
|
||
|
ERROR 42000: Access denied for user 'sample'@'localhost' to database 'D1'
|
||
|
drop database if exists d1;
|