Skip to main content

102 posts tagged with "Security"

Security Practices and Solutions

View All Tags

Fixed: "Option not supported (Parameter ...)" from a Semicolon in a MySQL Password in .NET C#

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

Option not supported (Parameter 'def;sslmode') looked like a typo in an option name, but def was the end of my password. A ; ends a value in a connection string, so the driver read the rest of the password as a new option, and put it in the exception message. That message can end up in your logs.