Mysql
 sql >> Base de données >  >> RDS >> Mysql

MySqlConnection =new MySqlConnection(string) ne fonctionne pas

essayez ceci

MySqlConnectionStringBuilder connBuilder = new MySqlConnectionStringBuilder();

                    connBuilder.Server = "localhost";
                    connBuilder.UserID = "root";
                    connBuilder.Database = "therapygame";
                    connBuilder.Password = "";
                    connBuilder.OldGuids = true;

                connection = new MySqlConnection(connBuilder.ConnectionString);