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
0 comments No comments
{count} votes

Answer accepted by question author
  1. GeethaThatipatri-MSFT 29,587 Reputation points Microsoft Employee Moderator
    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

Your answer

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