Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

odbc error connecting mysql

Posted on 2004-09-08
2
Medium Priority
?
798 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 1500 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

610 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