Skip to main content

Notifications

Copilot Studio - General
Unanswered

Microsoft Copilot Studio connection to MySQL database

(0) ShareShare
ReportReport
Posted on by

I’ve been working on connecting Microsoft Copilot directly to my local MySQL database. Here’s what I’ve done so far:

  • Created a MySQL user with the necessary privileges to allow remote access.
  • Set up an on-premises data gateway to facilitate the connection between the MySQL database and Microsoft Power Automate.
  • Added the MySQL connector in Power Automate to enable communication between the database and Copilot Studio.

However, I’m encountering the following challenges:

  • At times, I encounter a connection error indicating that the MySQL connector is receiving an incorrect request.

    The connector ‘MySQL’ returned an HTTP error with code 400. Error Code: ConnectorRequestFailure

  • No response from Copilot: In certain cases, the bot doesn't return any response after I attempt to interact with the database.

  • General message about database access: I also receive messages stating that Copilot doesn’t have direct access to databases and cannot execute queries or show real-time results.

After doing some additional research, I found that Microsoft Copilot Studio doesn't seem to support direct execution of MySQL queries on a local database.

Could you please provide some guidance on whether there's another approach or if I'm missing something in my setup?

I tried to connect MySQL database to Microsoft Copilot Studio. However, it seemed impossible to directly retrieve data from the database.

Categories:
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 719 on at
    Microsoft Copilot Studio connection to MySQL database
    Hello,
     
    why would you like to use MySQL database? Is it a must-have requirement? It would be easier for you to use a Dataverse table for that purpose.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!
  • CU20120730-0 Profile Picture
    CU20120730-0 2 on at
    Microsoft Copilot Studio connection to MySQL database
    hello, may i know have you successfully connect MySQL database to Microsoft Copilot Studio to directly retrieve data from the database? if yes, how do you done it, can you share with me. Thx you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,161

Leaderboard