Trace:
Differences
This shows you the differences between two versions of the page.
linux:mysql [2016/02/19 18:03] onno [Reset MySQL Root Password] |
linux:mysql [2016/02/19 18:04] (current) onno [Import Script for GZipped SQL Files] |
||
---|---|---|---|
Line 879: | Line 879: | ||
done | done | ||
</code> | </code> | ||
- | This script takes all *.sql.gz files in the current directory, unzips them (with zcat) to the standard output, which is redirect (with the pipe symbol |) to the mysql client. | + | This script takes all *.sql.gz files in the current directory, unzips them (with zcat) to the standard output, which is redirected (with the pipe symbol |) to the mysql client. |
+ | |||
+ | The original files are kept in place (i.e. unzipped). |