Create Database And Grant User Rights Mariadb

[Solved] Create Database And Grant User Rights Mariadb | Typescript - Code Explorer | yomemimo.com
Question : create database and grant user rights mariadb

Answered by : clumsy-chicken-qiykz1iaui27

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;

Source : | Last Update : Sun, 29 Mar 20

Answers related to create database and grant user rights mariadb

Code Explorer Popular Question For Typescript