How to connect data located in Azur Mysql database to prestashop 1.7.5 website

Souheil Mhiri 20 Reputation points
2023-03-18T09:31:43.2166667+00:00

I have Prestashop 1.7.5.2 E-commerce website digipress1.com . I'm preparing a web2print module and I want to connect it to Azur Mysql cloud database which contains articles and prices. How to do it?
I've tried, but always I have an error in connection. The version of MySQL is 7.3.

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
711 questions
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 27,017 Reputation points Microsoft Employee
    2023-03-19T22:09:10.0966667+00:00

    @Souheil Mhiri Welcome to the Microsoft Q&A forum, Thanks for posting your question.

    To connect your Prestashop 1.7.5.2 website to the Azure MySQL database, you can use PHP code to connect to the database.

    You can find a quickstart guide on how to connect to Azure Database for MySQL using PHP

    https://learn.microsoft.com/en-us/azure/mysql/single-server/connect-php

    Can you please share what is the error you are getting and how you tried to connect?

    Regards

    Geetha

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful