Answer the question
In order to leave comments, you need to log in
How to dump mysql without having login to hosting control panel?
Hello people!
In general, such a problem: there is an admin panel with Modx Revo, there is access via ftp (respectively, mysql user and password are recognizable), there is no access to the hosting entrance !!! How to dump a database?
I dug in the direction of SQL Manager, installed everything, sees everything, but refuses to do a dump :(
Please help!
Answer the question
In order to leave comments, you need to log in
PHP script:
set_time_limit(600);
passthru('/usr/bin/mysqldump -hdomain.com -uusername -ppassword db_name>'+date("Y-m-d_H-i-s")+'.sql');
Do you have access to the console via ssh?
Do you know the database superuser password?
mysqldump -uroot -p databasename > databasename.sql
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question