Skip to content

Instantly share code, notes, and snippets.

@albertzsigovits
Last active July 20, 2019 07:11
Show Gist options
  • Save albertzsigovits/21eb881aaec82111bcdd549fca020a04 to your computer and use it in GitHub Desktop.
Save albertzsigovits/21eb881aaec82111bcdd549fca020a04 to your computer and use it in GitHub Desktop.
MySQL init:
===========
1. mysql -u root -p -h localhost
2. CREATE USER 'johndoe'@'localhost' IDENTIFIED BY 'johnspass';
3. CREATE DATABASE test;
4. GRANT ALL PRIVILEGES ON test.* TO 'johndoe'@'localhost';
?. source test.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment