From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EUjrf-0004fr-9j for garchives@archives.gentoo.org; Wed, 26 Oct 2005 11:54:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9QBsOCs016195; Wed, 26 Oct 2005 11:54:24 GMT Received: from smtp1.matrix.com.br (smtp1.matrix.com.br [200.196.28.8]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9QBsMN0011964 for ; Wed, 26 Oct 2005 11:54:23 GMT Received: from [192.168.2.2] (unknown [200.138.249.84]) by smtp1.matrix.com.br (Postfix) with ESMTP id 9FD4E328E8 for ; Wed, 26 Oct 2005 09:54:14 -0200 (BRST) From: Fernando Garrido Vaz To: gentoo-user-br@lists.gentoo.org Subject: Re: [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP Date: Wed, 26 Oct 2005 09:43:55 +0000 User-Agent: KMail/1.8.1 References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-br@gentoo.org Reply-to: gentoo-user-br@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Message-Id: <200510260943.57283.fernandovaz@matrix.com.br> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j9QBsMN0011964 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j9QBsOCx016195 X-Archives-Salt: 6498511d-2c1a-4ba2-847f-9c4f20395022 X-Archives-Hash: f9d590cb501009bfcbfe7a6f0cd87dfe Se o Tomcat acessa, n=E3o seria alguma coisa com o Apache, e n=E3o com o = mysql? =20 Lembre q na =FAltima atualiza=E7=E3o mudou bastante coisa, inclusive o lo= cal dos=20 arquivos de config. Tive que consertar os meus aqui... []s Fernando On Wednesday 26 October 2005 10:56, Fernando Boaglio wrote: > Algu=E9m j=E1 fez essa migra=E7=E3o? > > http://www.gentoo.org/doc/en/mysql-upgrading.xml > http://dev.mysql.com/doc/refman/4.1/en/upgrading-from-4-0.html > > Parece q o Mysql 4.1 usa um mecanismo de autentica=E7=E3o diferente ago= ra, > mas eu o update: SET PASSWORD FOR root@localhost =3D OLD_PASSWORD('senh= a') > > Recompilei o mod_php e outras coisas que usam o mysql. > > Por algum motivo o phpMyAdmin e qualquer outra coisa em PHP n=E3o funci= ona. > O phpMyAdmin reclama que n=E3o acessa o socket: > > #2002 - O servidor n=E3o est=E1 respondendo (ou o soquete do servidor M= ySQL > local n=E3o est=E1 configurado corretamente) > > > Mas o socket eu acesso sem problemas: > > mysqladmin -p --socket=3D/var/run/mysqld/mysqld.sock version > Enter password: > mysqladmin Ver 8.41 Distrib 4.1.14, for pc-linux-gnu on i686 > Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB > This software comes with ABSOLUTELY NO WARRANTY. This is free software, > and you are welcome to modify and redistribute it under the GPL license > > Server version 4.1.14-log > Protocol version 10 > Connection Localhost via UNIX socket > UNIX socket /var/run/mysqld/mysqld.sock > Uptime: 21 min 5 sec > > Threads: 1 Questions: 1 Slow queries: 0 Opens: 11 Flush tables: 1 Open > tables: 0 Queries per second avg: 0.001 > > > Uma aplica=E7=E3o em Java com Tomcat acessa a base com sucesso. > > O que pode estar errado? > -- > []'s > boaglio@gmail.com --=20 gentoo-user-br@gentoo.org mailing list