?
Solved

MYSQL Connection over LAN

Posted on 2006-10-25
7
Medium Priority
?
3,608 Views
Last Modified: 2009-05-01
I have two windows XP Professional machines connected over LAN and installed MYSQL 4.1 Server ( choosen Dedicated Server while configuration ) . I am getting connection error connecting it thorough other machine via MyODBC 3.51 Driver

I am giving information as follows

Data Source Name : TestDSN
Description : my test DSN
Server : 192.168.1.3  

This is my other machine ip address assigned over LAN ( Name of computer P4 also used in place of ip address )

User : root
Password : <password>

I had created a user vinod with password vinod giving all the permission with the help of SQLYog GUI software

But still facing an error Can't connect on MySQL server on '192.168.1.3' (10060)
0
Comment
Question by:psaini172000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 10

Expert Comment

by:mbvvsatish
ID: 17857662
you need to login to mysql from command prompt in the machine where mysql is installed.
and at the mysql command prompt give this command

mysql>grant all privileges on *.* to vinod@192.168.1.3 identified by '' with grant option;

>identified by ''
should contain your password if one exists

now restart the mysql windows service and try to connect from other machine.
0
 

Expert Comment

by:anil1974
ID: 17922232
MySQL Connector/ODBC and .Net Driver
0
 

Expert Comment

by:anil1974
ID: 17922296
MySQL Connector/ODBC and  .Net
0
 
LVL 12

Accepted Solution

by:
str_kani earned 80 total points
ID: 18828060
>>> Can't connect on MySQL server on '192.168.1.3' (10060)

this suggests that the client not able to connect to the other machine 192.168.1.3 make sure the firewall donesn't block any connection on port 3306 the default port.

With this error message you cannot say that is any access issues with rights or passwords. check this firewall issue, and also make sure you are able to connect to the mysql on the machine where it installed.
0
 
LVL 1

Expert Comment

by:dreamluverz
ID: 24279163
I also got the same issue,
I checked the firewall but it's off, how can I check for the port?
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question