Quantcast
Channel: MySQL Forums - MySQL for Visual Studio
Viewing all articles
Browse latest Browse all 417

Cant connect to MySQL Server 8.0 with connection string (2 replies)

$
0
0
Hello!
I'm making a chat application in web api ASP.NET in VS Code. I used the SSMS to store datas, but now i need to change to MySQL server. My connection string is looks like this:
"Server=DESKTOP-XXXX;Database=chatappdb;user id=root;password=123456"
This always say, that Login failed for user 'root'. Because every time my program want to connect to SSMS. The SSMS is using server name DESKTOP-XXXX and i checked in MySQL workbench that the localhost is using the same DESKTOP-XXXX name. How can i modify or where can I check the server name properly in MySQL Workbench?

Viewing all articles
Browse latest Browse all 417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>