mysqldump -u username -p dbname > db_dump.sql
will create sql dump on local machine.
How to create dump from local server to remote location like
mysqldump -u local_username -p local_dbname > ip/remote_machine/folder/db_dump.sql
Because my webspace on local machine is not enough.
阅读有关从本地到远程的 sql 转储的文档https://sqlbackupandftp.com/blog/remote-sql-server-backups-explained
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.