I have a problem with connection string password to connect to database in visual studio.
In the end of password has a simple quote. I tried to escape using ' and others way like password="****'", password='****'', password='****'', password="****'"
. I'm using Pomelo.EntityFrameworkCore.MySql. Can some one help me?
I tried this in visual studio PM console :
PM> Scaffold-DbContext "server=remoteServe, port=3306; User Id=Myuser; database=database; Password=1234'" Pomelo.EntityFrameworkCore.MySql -OutputDir Models -ContextDir Context
return this erro:
Format of the initialization string does not conform to specification starting at index 108