logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

MyODBC on OS X 10.3 (Panther): msg#00057

db.mysql.odbc

Subject: MyODBC on OS X 10.3 (Panther)

Has anyone got MyODBC working properly on Mac OS X 10.3? That's properly as
in natively using the OS-provided iodbc installation...

The instructions at <URL:
http://www.mysql.com/products/myodbc/faq_2.html#SEC40> are incidentally
slightly wrong - the library to link against for a thread-safe build is
-lmysqlclient_r, not -lmysqlclienti_r.

Ignoring that, once the bundle's built and installed in the right place, I
set up the /Library/ODBC/odbc.ini file with:

----
[ODBC Data Sources]
Test = MySQL

[ODBC]
Trace = 0
DebugFile = /tmp/odbc.log

[Test]
Driver = /Library/MyODBC/lib/libmyodbc3-3.51.06.bundle
Description = silly test
Server = 127.0.0.1
Database = test
User = root
Password = secret
port = 3306
----

However running 'odbctest DSN=Test' fails with:

----
iODBC Demonstration program
This program shows an interactive SQL processor
[MySQL][ODBC 3.51 Driver]Unknown MySQL Server Host '???L' (1),
SQLSTATE=HY000

Have a nice day.
----

MySQL 4.0.18 is listening on port 3306, and is contactable by 'telnet
localhost 3306'.

The hostname being logged looks like random bytes instead of anything I've
configured, so it might just be as simple as a config error on my part.

Does anyone have any ideas or suggestions?

Cheers,

Chris


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo