Sql commands: Difference between revisions
From James's Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
CREATE DATABASE <database name>; | CREATE DATABASE <database name>; | ||
CREATE USER '<username>'@'localhost' IDENTIFIED BY '<password>'; |
Revision as of 00:33, 20 December 2021
SHOW DATABASES;
DROP DATABASE <database name>;
CREATE DATABASE <database name>;
CREATE USER '<username>'@'localhost' IDENTIFIED BY '<password>';