Improve rule S2077 by testing for "MySqlCommand" and "MySqlDataAdapter"

I would like to suggest improving the rule S2077 by adding the tests for “MySqlSqlCommand” and “MySqlDataAdapter”:

Currently there are tests for several connector, but MySQL is missing:

following specific method signatures are tested:

System.Data.SqlClient.SqlCommand.SqlCommand(string, ...)
System.Data.SqlClient.SqlDataAdapter.SqlDataAdapter(string, ...)
System.Data.Odbc.OdbcCommand.OdbcCommand(string, ...) 


Hi @jonataspc ,

Welcome to SonarSource Community! :sonarsource:

MySQL support ended with SonarQube 7.9: End of Life of MySQL Support


Hello Joe,
My suggestion is not related to the use of MySql as the database server for SonarQube.
It is just a suggestion to modify and improve the rule S2077 so it can test/cover MySql connector libraries.

1 Like

Thanks, @jonataspc , for the clarification.