I have an asp.net core app with user authentification working fine in my windows machine (I've got MySQL server for windows). I want to deploy it on my Linux machine. Everything works fine except for the user's authentication. I have installed MySQL server on it but when I want to register a user or login I see an error. My connection string is wrong:

"DefaultConnection": "Server=(localhost)\\mssqllocalhost;Database=aspnet-ElectransCloudServices-739D7BEF-549E-47C7-8FBD-6D542D2E05FB;Trusted_Connection=True;MultipleActiveResultSets=true"

Any help? Thank you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.