From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 31 13:10:04 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF8C416A420 for ; Tue, 31 Jan 2006 13:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B76B743D49 for ; Tue, 31 Jan 2006 13:10:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0VDA3N2053191 for ; Tue, 31 Jan 2006 13:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0VDA3aB053190; Tue, 31 Jan 2006 13:10:03 GMT (envelope-from gnats) Resent-Date: Tue, 31 Jan 2006 13:10:03 GMT Resent-Message-Id: <200601311310.k0VDA3aB053190@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Blaz Zupan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D834616A422; Tue, 31 Jan 2006 13:06:28 +0000 (GMT) (envelope-from blaz@titanic.medinet.si) Received: from titanic.medinet.si (titanic.medinet.si [212.18.42.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4248443D48; Tue, 31 Jan 2006 13:06:28 +0000 (GMT) (envelope-from blaz@titanic.medinet.si) Received: from titanic.medinet.si (localhost [127.0.0.1]) by titanic.medinet.si (8.13.3/8.13.3) with ESMTP id k0VD6QXZ076891; Tue, 31 Jan 2006 14:06:26 +0100 (CET) (envelope-from blaz@titanic.medinet.si) Received: (from blaz@localhost) by titanic.medinet.si (8.13.3/8.13.3/Submit) id k0VD6P4O076890; Tue, 31 Jan 2006 14:06:25 +0100 (CET) (envelope-from blaz) Message-Id: <200601311306.k0VD6P4O076890@titanic.medinet.si> Date: Tue, 31 Jan 2006 14:06:25 +0100 (CET) From: Blaz Zupan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ale@FreeBSD.org Subject: ports/92604: mysql41-client broken with non-default character set X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Blaz Zupan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 13:10:05 -0000 >Number: 92604 >Category: ports >Synopsis: mysql41-client broken with non-default character set >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jan 31 13:10:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Blaz Zupan >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: The databases/mysql41-client and probably databases/mysql50-client don't work correctly on a machine where only the client port is installed and you set the character set with WITH_CHARSET and/or WITH_XCHARSET. >How-To-Repeat: Install databases/mysql41-server on a server and databases/mysql41-client on the client machines. Both should be compiled with WITH_CHARSET=latin2 and WITH_XCHARSET=all. Try to run a query on the client by connecting to the server. Here is an example notice from a PHP script running on the client: Warning: mysql_connect() [function.mysql-connect]: Can't initialize character set latin2 (path: /usr/local/share/mysql/charsets/) in somescript.php on line 16 >Fix: Temporary workaround is to install the mysql41-server port on the client machine. The correct fix is to move the installation of /usr/local/share/mysql/charsets from mysql41-server to mysql41-client. >Release-Note: >Audit-Trail: >Unformatted: