Added MySQL info

This commit is contained in:
Benjamyn Love 2019-03-20 15:52:22 +11:00
parent 1a9ab5e722
commit cd09e28e79

View File

@ -62,3 +62,12 @@ Some examples of grep usage can be found [here](/examples/grep)
These commands can be used to manipulate data in the standard input
#### rev
#### mysql
**Importing a DB**
You can use `mysql` to import an SQL database through the command line, this is the faster and preferred way (if compared to something like phpMyAdmin)
The command to import a database is `mysql -u DBUSER -p DBNAME < SQLFILE` you will be prompted to enter the DBPASS
The reason we use a DBUSER and DBPASSWORD is so that the database is imported with the users permissions