MySQL snippets

Create a new MySQL database mysql -u root -p CREATE DATABASE databaseName; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databaseName.* TO 'databaseUser'@'localhost' »