question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InvalidProgramException after successful MySQL connection

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zacharycmontoyacommented, Oct 30, 2019

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.

1reaction
zacharycmontoyacommented, Oct 29, 2019

Thanks for the report! @lucaspimentel I can start investigating this issue today

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found