I cannot connect to MySQL DB from react app service

Roger 1 Reputation point
2022-05-24T11:46:36.737+00:00

Hello,

I've created a MySQL db and deployed a react backend as an app service. However, the app service crashes when I try to access it. When I open the diagnostic tool, I get the following message:

205046-image.png

I am able to connect to the DB from MySQL Workbench and access the DB. I'm using the same url and credentials for the web. Do you know what could be the problem?

Thanks!

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

1 answer

Sort by: Most helpful
  1. Roger 1 Reputation point
    2022-05-31T09:45:40.217+00:00

    Hello Geetha,

    Yes, I think I manage to fix this issue. The url in the ORM config file was incorrect and this provoke the connection issues.

    Thank you for your help!

    Roger


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.