I am trying to connect Visual Studio(C#) to MySql database(phpmyadmin using WAMP).
I am getting this error : Why am I getting "Cannot Connect to Server - A network-related or instance-specific error"?
Because I am using phpmyadmin, I installed SSMS to configure SQL Server Services(which can be solution to my problem), but when I try to find server name in phpmyadmin as sql query : SELECT @@SERVICENAME, I am getting another error: MySQL said: Documentation
1193 - Unknown system variable 'SERVERNAME'.
Can You help me to fix this issue ?