Home:ALL Converter>Connecting to a MySQL database on a remote server (Unix hosting) C#

Connecting to a MySQL database on a remote server (Unix hosting) C#

Ask Time:2016-09-20T19:34:49         Author:devtunis

Json Formatter

I have a mysql database on a remote server (Unix hosting),

  • Server : Localhost via UNIX socket
  • Type server : MySQL
  • Server version : 5.1.73 - Source distribution
  • Protocol Version : 10
  • User : root@localhost
  • Character Server: UTF-8 Unicode (utf8)
  • address: 91.121.118.66
  • database : xxxxxx
  • username: root@localhost
  • password : xxxxxxxx

I want to access this database using C# in Visual Studio 2012:

I have an error.

Note: connecting to my local MySQL data base, it works well, I only get the error connecting remotely to my server.

Author:devtunis,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/39592991/connecting-to-a-mysql-database-on-a-remote-server-unix-hosting-c-sharp
yy