Solved

odbc error connecting mysql

Posted on 2004-09-08
2
789 Views
Last Modified: 2012-06-21
running windows xp pro sp1, running mysql server & client 4.0.20a and access 2000 on same pc. would like to use access 2000 as frontend for mysql.

downloaded mysql ODBC 3.51.09 Driver and installed it successfully.

mysql startup using "mysqld"

created system dsn
dsn name : test
descrip: MySQL ODBC 3.51 Driver DSN
server name /ip: localhost
db name: test
user : root
password: (blank)

port (if not 3306)-  blank
sql cmd to connect - blank

msaccess 2000:
when i click "test data source" diagonal box pop up "[MySQL][odbc3.51 driver] Can't create tci/ip socket (10050)"


mysql server log :
error: aborted connection 1 to db: unconnected user 'odbc' host localhost 'got an error reading communication packet'

Need to create odbc connection to mysql .Can someone please help me resolve this ?
0
Comment
Question by:nikarim
2 Comments
 
LVL 10

Accepted Solution

by:
jayca earned 500 total points
ID: 12011900
Check your port setting.
Can't create tci/ip socket (10050

I would rather use MSDE :)

Check this tutorial
http://www.aspfree.com/showblog/433/An-Access-FrontEnd-to-MySQL

0
 

Author Comment

by:nikarim
ID: 12012243
o.k figure it out. Sorry not from the link to your tutorial but from your comment... sorta  "Check your port setting."

went back to networking 101
1) did everything right ? yes
2) what is the problem ? "can't connect"
3) port, sockets ? "nah"
4) did i mention everything ? "nah"
5) what did i forget to mention ? ***McAfee !
6) Shutdown McAFee Virus & Firewall and ...   Viola! It work !



0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

685 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