Solved

odbc error connecting mysql

Posted on 2004-09-08
2
788 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

808 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