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 1EUixu-0001uS-7c for garchives@archives.gentoo.org; Wed, 26 Oct 2005 10:57:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9QAuleB001083; Wed, 26 Oct 2005 10:56:47 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9QAujBh022916 for ; Wed, 26 Oct 2005 10:56:46 GMT Received: by zproxy.gmail.com with SMTP id p8so101320nzb for ; Wed, 26 Oct 2005 03:56:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=IW4pBDBGIDwvd7EFw3kodT+YW7xBgV0e4QspXhXfPy+A1wQAEBj5nw7ELwCLx03M5eoZQe9MmGp8izy6I0LZ/xmLs+oIONbdCQGSE6MfemV6VZLYjLpL/5ipTT5pZBuz5mQwA8HyUpPvO7Zrapu6HTvdloCbu/ETjevwUSS9xEQ= Received: by 10.36.148.20 with SMTP id v20mr758283nzd; Wed, 26 Oct 2005 03:56:44 -0700 (PDT) Received: by 10.36.66.12 with HTTP; Wed, 26 Oct 2005 03:56:44 -0700 (PDT) Message-ID: Date: Wed, 26 Oct 2005 08:56:44 -0200 From: Fernando Boaglio To: gentoo-user-br@lists.gentoo.org Subject: [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP 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: multipart/alternative; boundary="----=_Part_13158_30946340.1130324204501" X-Archives-Salt: c75337b7-c4df-42fd-bc6d-7cfd05b64109 X-Archives-Hash: db1ce142d0e11af9737999e0f19dfc4a ------=_Part_13158_30946340.1130324204501 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 servidor 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 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 ------=_Part_13158_30946340.1130324204501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Algu=E9m j=E1 fez essa migra=E7=E3o?

http://www.gentoo.org/doc/en/mysql-upgrad= ing.xml
http://dev.mysql.com/doc/refman/4.1/en/upgrading-from-4-0.html

P= arece 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 php= MyAdmin reclama que n=E3o acessa o socket:

#2002 - O servidor n=E3o est=E1 respondendo (ou o soquete do servidor MySQL= local n=E3o est=E1 configurado corretamente)


Mas o socket eu acesso sem problemas:

 mysqladmin -p  --socket=3D/var/run/mysqld/mysqld.sock ver= sion
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 DataKonsul= t 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  &nb= sp;          /var/run/mysqld/m= ysqld.sock
Uptime:         =         21 min 5 sec

Threads: 1  Questions: 1  Slow queries: 0  Opens: 11&nbs= p; Flush tables: 1  Open tables: 0  Queries per second avg: 0.001=


Uma aplica=E7=E3o em Java com Tomcat acessa a base com s= ucesso.

O que pode estar errado?
--
[]'s
boaglio@gmail.com ------=_Part_13158_30946340.1130324204501-- -- gentoo-user-br@gentoo.org mailing list