What's mysqldump?
It dumps Mysql or MariaDB contents. Basically it is used for backup.
Basic Usage
# Extract database definition
mysqldump -h <host> -u <user> -p <password> -d <database name>
# Extract table definition
mysqldump -h <host> -u <user> -p <password> -t <database name> <table name>
# Specify where condition when extracting table
mysqldump -h <host> -u <user> -p <password> -t <database name> <table name> --where="condition"
This blog moved to medium->https://medium.com/@cocoamaemae
Regarding TIPS about IT technologies or OSS which I created.
Wednesday, November 9, 2016
Wednesday, November 2, 2016
How to clear cache on CentOS
clear page cache
sudo echo 1 > /proc/sys/vm/drop_caches
or
sudo sysctl -w vm.drop_caches=1
clear directory entry and inode
sudo echo 2 > /proc/sys/vm/drop_caches
or
sudo sysctl -w vm.drop_caches=2
clear page cache and directory entry and inode
sudo echo 3 > /proc/sys/vm/drop_caches
or
sudo sysctl -w vm.drop_caches=3
Subscribe to:
Posts (Atom)
Front End Development Tools
TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...
-
TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...
-
Kubernetes words Node Virtual machine or physical server. Cluster It means at least one master node and one node server. Pod It...
-
Proxy - Server installed between intranet and internet. - Client PCs access to internet through proxy. - Web servers could see only...