Answers for "how to create mariadb user and grant privileges"

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

Code answers related to "how to create mariadb user and grant privileges"

Browse Popular Code Answers by Language