I am having difficulty getting a copy of the mysql database for a wordpress site.

David Kendall 1 Reputation point
2024-11-05T18:15:04.12+00:00

I am attempting to copy the entire Azure MYSQL database but am unable to do so. I try to do a restore and it validates it as possible but then it fails something about being in the wrong zone or no permissions on the zone, it should not be this difficult to simply take a copy of the database. I have tried every single connection method as well, but have had no luck.

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
848 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Oury Ba-MSFT 19,581 Reputation points Microsoft Employee
    2024-11-06T18:22:56.6866667+00:00

    @David Kendall Thank you for reaching out and for using Azure services.Which tool are you using to copy database?

    What is the exact error?

    What is the actual use case so we can recommend any better ways to achieve it.

    For copying a database, you can follow the below methods:

    • Use Point-in-Time Restore (PiTR) to create a copy of the database server instance. Note that this will create a new server with copy of all databases from the original server. For detailed instructions, you can refer to the official documentation on Point-in-time restore in Azure Database for MySQL - Flexible Server
    • You can create a new vanilla MySQL - Flexible server as suggested above by @Mahesh Kurva and use DMS to copy a specific database to new server. Native MySQL OSS tools can be used to dump and restore specific database as well.

    Regards,

    Oury

    0 comments No comments

  2. David Kendall 1 Reputation point
    2024-11-07T19:12:15.6966667+00:00

    Can you respond to them letting them know that you cannot connect to the MySQL server so you cannot access phpMyAdmin? Also tell them that using the instructions on the Connect tab do not work, including using the shell to try to run mysqldump 


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.