Answers for "mariadb add user to database access"

SQL
3

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
0

create user mariadb

CREATE USER foo2@test IDENTIFIED BY 'password';
Posted by: Guest on April-30-2022

Code answers related to "mariadb add user to database access"

Code answers related to "SQL"

Browse Popular Code Answers by Language