Answers for "create user grant mariadb"

2

create database and grant user rights mariadb

create database [DB name];

CREATE USER '[DB_User_Name]'@'localhost' IDENTIFIED BY '[DB_Password]';
GRANT ALL PRIVILEGES ON [DB_Name].* TO '[DB_User_Name]'@'localhost';

show grants for 'demouser'@'localhost';

FLUSH PRIVILEGES;
Posted by: Guest on March-22-2020
3

create user mariadb

CREATE USER 'user1'@localhost IDENTIFIED BY 'password1';
Posted by: Guest on December-19-2020

Browse Popular Code Answers by Language