Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

MySql SSH With Login from C# (no replies)

$
0
0
I created a login for my program via mysql, connect to mysql using my ssh server. I created the user and granted them permission to enter, but it seems to me that it is unable to contact any of the specified mysql hosts when I try to log in. I am 100% sure the problem is not due to my software because previously mysql is running ssh and the connection is working but this time it looks like i missed something i use centos linux


The problem that appears to me when logging into my program

MySql.Data.MySqlClient.MySqlException: 'Unable to connect to any of the specified MySQL hosts.'

Mind the problem due to the connection. When I use MySQL Workbench 8.0 CE, it works and everything is fine. I can create a table and add information to it.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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