Export MySQL dump from command line

You can accomplish this using the mysqldump command-line function. For example: If it’s an entire DB, then: $ mysqldump -u [uname] -p db_name > db_backup.sql If it’s all DBs, then: $ mysqldump -u [uname] -p –all-databases > all_db_backup.sql If it’s specific tables within a DB, then: $ mysqldump -u [uname] -p db_name table1 table2 > … Read more

ssh server connect to host xxx port 22: Connection timed out on linux-ubuntu [closed]

Here are a couple of things that could be preventing you from connecting to your Linode instance: DNS problem: if the computer that you’re using to connect to your remote server isn’t resolving test.kameronderdehamer.nl properly then you won’t be able to reach your host. Try to connect using the public IP address assigned to your … Read more

Downloading MySQL dump from command line

You can accomplish this using the mysqldump command-line function. For example: If it’s an entire DB, then: $ mysqldump -u [uname] -p db_name > db_backup.sql If it’s all DBs, then: $ mysqldump -u [uname] -p –all-databases > all_db_backup.sql If it’s specific tables within a DB, then: $ mysqldump -u [uname] -p db_name table1 table2 > … Read more