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 1EUkAD-0006Lz-H4 for garchives@archives.gentoo.org; Wed, 26 Oct 2005 12:13:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9QCDZiC009348; Wed, 26 Oct 2005 12:13:35 GMT Received: from gaia.ucs.br (gaia.ucs.br [200.160.143.250]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9QCDXwh009197 for ; Wed, 26 Oct 2005 12:13:34 GMT Received: from gaia.ucs.br (localhost.localdomain [127.0.0.1]) by localhost.ucs.br (Postfix) with ESMTP id 0862919039D for ; Wed, 26 Oct 2005 10:13:32 -0200 (BRST) Received: from pan.ucs.br (unknown [200.160.143.252]) by gaia.ucs.br (Postfix) with ESMTP id EE4F3190398 for ; Wed, 26 Oct 2005 10:13:31 -0200 (BRST) Received: by pan.ucs.br (Postfix, from userid 99) id D61ED160160; Wed, 26 Oct 2005 10:13:31 -0200 (BRST) Received: from localhost (localhost.localdomain [127.0.0.1]) by pan.ucs.br (Postfix) with ESMTP id AC2D4160154 for ; Wed, 26 Oct 2005 10:13:31 -0200 (BRST) Received: from 172.16.30.20 ([172.16.30.20]) by webmail.ucs.br (IMP) with HTTP for ; Wed, 26 Oct 2005 10:13:31 -0200 Message-ID: <1130328811.435f72eba3607@webmail.ucs.br> Date: Wed, 26 Oct 2005 10:13:31 -0200 From: Jeronimo Zucco To: gentoo-user-br@lists.gentoo.org Subject: Re: [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP References: <200510260943.57283.fernandovaz@matrix.com.br> 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-1 User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 172.16.30.20 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j9QCDZiH009348 X-Archives-Salt: c479c0a5-8763-4785-9147-0730d52b8dd6 X-Archives-Hash: 9bbb80f95a01ddad0a8ac229b643dea9 Roda o mysql 4.1 com a op=E7=E3o "--old-passwords" -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N=FAcleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com Citando Fernando Boaglio : > Pois =E9... ontem eu notei que os meus virtual hosts n=E3o estavam func= ionando e > ajustei. > > Mas rodando o info do PHP ele devolve: > mysql MySQL Supportenabled Active Persistent Links 0 Active Links 0 Cli= ent > API version 4.1.14 MYSQL_MODULE_TYPE external MYSQL_SOCKET > /var/run/mysqld/mysqld.sock > MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib -lmysqlclient > Ent=E3o o php deveria estar funcionando, n=E3o? > > > > 2005/10/26, Fernando Garrido Vaz : > > > > Se o Tomcat acessa, n=E3o seria alguma coisa com o Apache, e n=E3o co= m o > > mysql? > > Lembre q na =FAltima atualiza=E7=E3o mudou bastante coisa, inclusive = o local dos > > 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= agora, > > > mas eu o update: SET PASSWORD FOR root@localhost =3D OLD_PASSWORD('= senha') > > > > > > Recompilei o mod_php e outras coisas que usam o mysql. > > > > > > Por algum motivo o phpMyAdmin e qualquer outra coisa em PHP n=E3o > > funciona. > > > O phpMyAdmin reclama que n=E3o acessa o socket: > > > > > > #2002 - O servidor n=E3o est=E1 respondendo (ou o soquete do servid= or MySQL > > > 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 softw= are, > > > and you are welcome to modify and redistribute it under the GPL lic= ense > > > > > > 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 O= pen > > > 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 > > > > -- > > gentoo-user-br@gentoo.org mailing list > > > > > > > -- > []'s > boaglio@gmail.com > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --=20 gentoo-user-br@gentoo.org mailing list