Use Windows authentication using MySqlConnection
Connection string
This MySQL Connector/Net connection string can be used for connections to MySQL.
Server=myServerAddress;Database=myDataBase;IntegratedSecurity=yes;
Uid=auth_windows;
This MySQL Connector/Net connection string can be used for connections to MySQL.
Server=myServerAddress;Database=myDataBase;IntegratedSecurity=yes;
Uid=auth_windows;
This option is available from Connector/NET version 6.4.4
The Windows Native Authentication Plugin must be installed for this to work.