![]() upload it via SCP or FTP, or to an S3 bucket). If you can access your webserver over ssh, just run mysqldump via ssh, and dump to the ssh client system.Īre you able to run some code on the web server? If so, run mysqldump there, along with whatever code you need to export it to somewhere (e.g. It is not designed for automation of the sort you want. There could conceivably be situations where you might want to get at your database this way, but I'm struggling to think of one. ![]() ![]() How can I automate the downloading of SQL dumps from phpMyAdmin? I'm quite certain the authentication succeeds, so there must be something wrong with the POST parameters I'm sending. 15:27:35 ERROR 500: Internal Server Error. 401 UnauthorizedĪuthentication selected: Basic realm="phpMyAdmin localhost" Unfortunately, phpMyAdmin 4.7.9 responds with a Server 500 error: - 15:27:35. Post_data="$token&what=sql&export_type=server" ![]() I'm using the following script to attempt to download an SQL export from a phpMyAdmin installation (adapted from this Stackoverflow question) read -p "Username: " USERNAME ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |