How to export databases through command line?

后端 未结 4 1650
栀梦
栀梦 2021-02-01 05:43

I have URL of phpMyAdmin, I have username and password. How can I export all those databases? Because phpMyAdmin crashes when I try to export them, so I want to try it through c

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-01 06:11

    If you want to export all databases at a single command at the same time, use the following command instead.

    mysqldump -u  -p --all-databases > all_databases.sql
    

提交回复
热议问题