Solved

odbc error connecting mysql

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access Query - calculate End of the Month in Query 2 51
Delete table fields 3 46
sIMULTANEOUS USAGE ON NETWORK-ACCESS 2010-2013 7 75
Error 438 6 50
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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.

737 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