Mysql installation failed while building azure pipeline

Bharath 1 Reputation point
2022-02-25T17:02:29.787+00:00

Hello Devs,
Project details : Django Python3.9 Linux app service backend, Mysql flexible server database, Deployment using Azure devops and pipelines

In the deployment phase while building with yaml file, I need to use Mysql server as backend, so to install that i used "sudo mysql-server" in the yaml-script, but its getting failed at that step,
After research i came to know that azure agent pool has mysql already installed, i need to just enable it in the script, I tried enabling but still my django is not able to find the mysql-backend,
I tried even both enabling and installing mysql-server, still the same error, my code is throwing no mysql backend found

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
714 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,194 questions
{count} votes