How to use OdbcParameter for MySQL?
This is my current attempt:
command.Parameters.Add(new OdbcParameter(\"@username\",
Change your CommandText to be a valid one for OdbcCommand:
command.CommandText = "INSERT INTO test.test (`user`,`password`) VALUES (? , ?);";
Instead of the parameter name as @paramname, it takes a ? in the CommandText - leave the name in the actual parameters.
See this blog post for an example.