This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

MYSQL_UNIX_PORT


How can I connect to local MySQL win32 server using cygwin- Apache/Perl/DBI?
I am not sure how to force DBI to use IP address instead of socket, but I think that is what I need to do.
I compiled libmysqlclient.a using mysql-3.23.28-gamma sources and when I test Perl-DBI-DBD::mysql it 
fails trying to use /var/mysql.sock. 
I then recompiled libmysqlclient.a using --with-unix-sock-port=MYSQL because \mysql\data\my.cnf has:
socket=MYSQL.
Is this the right direction to get a socket connection with cygwin and MySQL Win32 local server...

thanks,
dale


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]