Re: Connecting to MySQL 4.1.x on Mac OSX Tiger Server - socket location issue.
Posted by: Mark Matthews
Date: March 11, 2006 08:11AM

Dave Sag wrote:
> An interesting point to note:
>
> using CocoaMySQL i manually specified the socket
> location as /var/mysql/mysql.sock and voila - it
> connects fine.
>
> CocoaMySQL is a Java application under the hood,
> so presumably it is using Connector/J to connect.
>
> Dave


Dave,

I can guarantee you that it's not using unix domain sockets. They're not supported by Java. Are you sure CocoaMySQL is Java-based, I assume it's Objective-C and uses libmysql, which can support unix domain sockets.

My guess is your server is started with --skip-networking (see the configuration files for the MySQL server), which means the JDBC driver won't be able to connect, since it requires TCP/IP on Unix.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.