[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '192.168.1.2' (10060) (no replies)

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.
Submitted by programmer on Fri, 08/15/2008 - 19:29.

Hi all!

I am trying to connect to a remote MySQL database using VB.NET. This database is located on my LAN at the address 192.168.1.2. I am using MySQL Connector/ODBC 3.51 (MyODBC 3.51) for the connection. It is installed on my computer and on the IP I am trying to connect to.

The connection string that I am using is the following-

Driver={MySQL ODBC 3.51 Driver};Server=192.168.1.2;Database=mydb;User=root; Password=;Option=3;

The error message that I get in VB not too intuitive - System.EventArgs

When I try to Add Data Source from the Control Panel I get-

[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '192.168.1.2' (10060)

XAMPP is running on 192.168.1.2, do I need to do any any other config changes? I am using root to connect, yet not getting the connection.

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.