How to export databases through command line?

后端 未结 4 1689
栀梦
栀梦 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:18

    As i was logged into my server already there i just had to put this command to dump db

     mysqldump --databases  database_name > file_name.sql
    

提交回复
热议问题