MySQL Basic Commands

Connection :
mysql -u root -p

create database `example`;

create user 'user'@'localhost' identified by "password";

grant all privileges on `example` . * to 'user'@'localhost';

flush privileges;

show databases;

2020-02-05 18:15:56

Comments

Add a Comment

Login or Register to post a Comment.

Homepage