Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Latest commit

 

History

History
15 lines (7 loc) · 340 Bytes

MySQL.md

File metadata and controls

15 lines (7 loc) · 340 Bytes

connecting to mysql

mysql -u root -h localhost -p

create user 'test'@'localhost' identified by 'test';

create user 'bazaar'@'localhost' identified by 'b4z44r';

SET PASSWORD FOR 'test'@'localhost' = password('test');

create database bazaar_v6;

GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP on bazaar.* to 'bazaar'@'localhost';