Added MySQL info
This commit is contained in:
parent
1a9ab5e722
commit
cd09e28e79
@ -61,4 +61,13 @@ Some examples of grep usage can be found [here](/examples/grep)
|
|||||||
|
|
||||||
These commands can be used to manipulate data in the standard input
|
These commands can be used to manipulate data in the standard input
|
||||||
|
|
||||||
#### rev
|
#### 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
|
||||||
Loading…
x
Reference in New Issue
Block a user