Flaxplax

Personal documentation

mysql

Create user and database

CREATE DATABASE db_name;

CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';

GRANT ALL ON db_name.* TO 'user'@'localhost';

FLUSH PRIVILEGES;
Last updated on 2 Oct 2022
Published on 2 Oct 2022