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 command line.
相关问题
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Why sometimes there is one of more gap(s) in the v
- mySQL alter table on update, current timestamp
Then import using:
mysqldump -u user -p db_name > db_file.sql
Edit: based on the comments on another answer.
If MySQL server allows for remote connections, then you can run this command on another machine you do have access to.
mysqldump -h hostname-of-your-server -u user -p db_name > db_file.sql
If you want to export all databases at a single command at the same time, use the following command instead.