InvalidProgramException after successful MySQL connection
See original GitHub issueDescribe the bug
After a successful MySQL connection is initiated, the program crashes with an InvalidProgramException inside MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection)
if the DataDog Tracer MSI is installed on the host machine.
To Reproduce I have provided a repro here: https://github.com/ksjoberg/dd-trace-repro1 I set this up in IIS, but I believe also regular/console applications are affected.
Expected behavior The tracer/agent should instrument the assemblies transparently.
Runtime environment:
- Instrumentation mode: automatic with msi installer
- Tracer version: 1.8.0
- OS: Windows 10 build 1903
- CLR: .NET Framework 4.8
Additional context This is obviously major issue for us.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
4.22 Troubleshooting Problems Connecting to MySQL
After trying to connect from the client machine, use a SELECT USER() query to see how you really did connect. Then change the...
Read more >Can't connect to MySQL server on 'localhost' (10061) after ...
From the documentation: (10061) indicates that the network connection has been refused. You should check that there is a MySQL server running, ...
Read more >Troubleshoot common errors - Azure Database for MySQL
Learn how to troubleshoot common migration errors encountered by users new to the Azure Database for MySQL service.
Read more >How to Connect to MySQL Server
The article uncovers three ways to connect to a MySQL database using MySQL Client, dbForge Studio for MySQL, and MySQL Workbench.
Read more >Unable to connect to mysql through JDBC connector ...
It seems this error can occur generally when there is a problem in connecting to the server. Maybe the problem is because of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, it looks like closing the PR automatically closed this issue. The fix has been merged and will be included in our next release which we hope to get out promptly. Thanks again @ksjoberg for the repro, that made the issue much easier to diagnose and fix.
Thanks for the report! @lucaspimentel I can start investigating this issue today