Why is my C++ program unable to connect to my MySQL XAMPP Database
I’m trying to connect to MySQL from my C++ program and I have downloaded and configured the MySQL C++ Connector in my project but it keeps causing two weird errors. For context, below is my code:
MySqlConnector with MySqlCommand.ExecuteNonQueryAsync in C# not creating records
I’m porting a working backend written in Python to .NET microservice written in C#, using the MySQLConnector and mySQL. I have a simple C# Database class instantiated from Program main as one of the first lines. It connects to the mysql service, then checks for existence of DB and creates it and the tables if needed, then populates it with a few seed records to make it operational.