Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 02:17:04 +0200 (CEST)
From:      Andreas Haakh <ah@Haakh.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70889: network-access to mysql40-server exits with ERROR 2013
Message-ID:  <200408240017.i7O0H4uX009743@abaton.Haakh.de>
Resent-Message-ID: <200408240030.i7O0UMEa074377@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70889
>Category:       ports
>Synopsis:       network-access to mysql40-server exits with ERROR 2013
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 00:30:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Haakh <andreas.haakh@ib-haakh.de>
>Release:        FreeBSD 5.3-ALPHA i386
>Organization:
>Environment:
System: FreeBSD abaton.Haakh.de 5.3-ALPHA FreeBSD 5.3-ALPHA #1: Fri Aug 20 08:03:26 CEST 2004 root@abaton.Haakh.de:/usr/src/sys/i386/compile/ABATON i386


	
>Description:
	Network access to mysql-database 4.0.20 (mysql -h fqdn) fails
	with ERROR 2013. Other access-methods (OpenOffice, mySQL-ControlCenter)
	fail as well. 
	mysql40-server, compiled on FreeBSD 5.2-CURRENT (May 2004) worked
	fine.
	
>How-To-Repeat:
	Install mysql40 from package (Aug 10/2004) or compile and install
	from ports. Then try 'mysql -h hostname'
	
>Fix:
	Edit Makefile and build without libwrap.

	Nonstd function declarations in src/contrib/tcp_wrappers/tcpd.h
	for fromhost(), hosts_access(), eval_client() combined with buggy 
	macros in mysql40-server/sql/mysqld.cc (see patch for mysqld.cc)
	which remove required arguments seem to be the reason for this bug. 
	This probably applies to other mysql-versions as well.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408240017.i7O0H4uX009743>