Mysql

From Attie's Wiki
Revision as of 17:04, 24 January 2012 by Attie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
mysql --user=$USERNAME --password=$PASSWORD

Useful commands

CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE database;
GRANT ALL PRIVILEGES ON db.* TO 'user'@'localhost' WITH GRANT OPTION;
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox