My version of WordPress + Git

It’s simple boilerplate for WordPress project.

Some features:

Very simple install: proof link

Here is link:

Write what do you think? Send link to your git repos.

Mysql console shortcuts

To export

If it’s all DBs, then:

$ mysqldump -u [uname] -p[pass] --all-databases > all_db_backup.sql

If it’s specific tables within a DB, then:

$ mysqldump -u [uname] -p[pass] db_name table1 table2 > table_backup.sql

You can even go as far as auto-compressing the output using gzip (if your DB is very big):

$ mysqldump -u [uname] -p[pass] db_name | gzip > db_backup.sql.gz

Continue reading “Mysql console shortcuts”