using C#? I'm creating a web application in Visual Studio 2008 using C#. I also have an Ubuntu linux server setup with MySQL. I have added the database to the linux MySQL server. However, I can't connect to it on my local pc. I've tried clicking the add connection button in server explorer (I'm using the MySql connector) and keep getting the error: 'Unable to connect to any of the specified MySQL hosts.'
I was able to connect to a remote mysql server on 127.0.0.1
On the linux server, I modified the 'bind-address' to the IP address of the linux machine: 192.168.0.190
I'm also using MySQL workbench 5.2.16 and can't connect to the linux server in there either. However, when I enter my local pc's IP address, 192.168..0.194, it recognizes my pc.
原帖地å€: TechSpott - Computer and technology forums http://www.techspott.com//showthread.php?p=12461
I don't know what I'm missing or doing wrong that I can't connect. I can easily connect to a local database, but I want to use one on my linux server.
Thanks in advance!