mysql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mysql [2014/05/13 00:09] – paulsmith | mysql [2014/05/13 00:09] (current) – paulsmith | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== MySql ====== | ||
| + | ===== Gentoo create inital db ===== | ||
| + | emerge --config =dev-db/ | ||
| + | |||
| + | |||
| + | ===== Add a user ===== | ||
| + | GRANT ALL PRIVILEGES ON *.* TO ' | ||
| + | FLUSH PRIVILEGES; | ||
| + | |||
| + | ====== Export Users an perms ====== | ||
| + | < | ||
| + | mysql --batch --skip-column-names --execute=" | ||
| + | |||
| + | mysql --batch --skip-column-names --execute=" | ||
| + | |||
| + | |||
| + | use mysql; | ||
| + | select concat(' | ||
| + | </ | ||
