Previously, the MySQL PAAs database was created in Azure, and now you want to stop the azure MySQL PAAs database because the test system is offline. But the long time found on the Azure portal did not find that the stop option could be like those of a virtual machine, only deleted. learned that MySQL database once created is not able to stop. You can export the database locally through mysqldump and then delete the server or database that you want to stop on the PAAs. When needed, then import to the PAAs.
Mysqldump is used as follows:
Execute the following command to make a backup of the source server's database to a local
#mysqldump--databases < database name >--single-transaction--order-by-primary-r < backup file name >--routines-h < server address >-P < port number >–u < user name >-p < password >
Mysqldump--databases mydb--single-transaction--order-by-primary-r f:backup.sql--routines- Hsrcserver.mysqldb.chinacloudapi.cn-p3306-usrcserver%usr-p
This article is from the "zeroing" blog, so be sure to keep this source http://fjcloud.blog.51cto.com/212259/1910869
Stop the azure MySQL PAAs database