Mysql
 sql >> Datenbank >  >> RDS >> Mysql

MySqlConnection =neue MySqlConnection(string) funktioniert nicht

versuchen Sie dies

MySqlConnectionStringBuilder connBuilder = new MySqlConnectionStringBuilder();

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

                connection = new MySqlConnection(connBuilder.ConnectionString);