There should be some more details of the exception. Can you see if there is a stack trace, and if there is can you share it? It should provide more details of what is happening.
Is the database using InnoDB with row logging enabled? Does your MySQL user have enough access rights, such as permission to create a new database?
https://docs.mendix.com/refguide/mysql
The default database is great for local development, and when you deploy up to the Mendix Cloud that uses Postgres which is really good. You can also backsync this to your local environment and run a local copy of Postgres if you want.
can only be done when deploying on your own private cloud https://docs.mendix.com/developerportal/deploy/private-cloud-cluster
I think the runtime is failing to parse the URI components. Try supplying the credentials and database name like:
jdbc:mysql://localhost:3306/organizer?user=root&password=root
Alternatively set each argument separately as descibed at https://docs.mendix.com/refguide/custom-settings#4-database-settings
In some of the ways, spacing and the order of parameters in the MySql connection string does matters. So, stick to the standard format:
MysqlConn.ConnectionString = "Server=localhost;Port=1234;Database=My_Mysql_Database;Uid=root;Pwd=root;"
If the above connection string fails, try update your c# mysql connection string as shown below (without port variable as well):
MysqlConn.ConnectionString = "Server=localhost;Database=My_Mysql_Database;Uid=root;Pwd=root;"
Or, sometime the problem could be on your windows firewall, make sure your server allow access to all port associated with your mysql database.