This is an old revision of the document!
Database
These are all for MySQL
Cleaner Terminal Output
MySQL can have quite messy output when running queries from the mysql
cli. You can terminate a statement with \G
instead of ;
to format as a list instead of table.
SELECT * FROM users\G
Grant permissions
replace *.*
with schema.table
if needed
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost';