public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fernando Boaglio <boaglio@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP
Date: Wed, 26 Oct 2005 08:56:44 -0200	[thread overview]
Message-ID: <ab2953b00510260356j7c162b1cu@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

Alguém já fez essa migração?

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ção diferente agora,
mas eu o update: SET PASSWORD FOR root@localhost = 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ão funciona.
O phpMyAdmin reclama que não acessa o socket:

#2002 - O servidor não está respondendo (ou o soquete do servidor MySQL
local não está configurado corretamente)


Mas o socket eu acesso sem problemas:

mysqladmin -p --socket=/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ção em Java com Tomcat acessa a base com sucesso.

O que pode estar errado?
--
[]'s
boaglio@gmail.com

[-- Attachment #2: Type: text/html, Size: 2107 bytes --]

             reply	other threads:[~2005-10-26 10:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 10:56 Fernando Boaglio [this message]
2005-10-26  9:43 ` [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP Fernando Garrido Vaz
2005-10-26 12:06   ` Fernando Boaglio
2005-10-26 12:13     ` Jeronimo Zucco
2005-10-26 12:33       ` Fernando Boaglio
2005-10-27 10:23         ` Fernando Boaglio
2005-10-27 14:28           ` Marcus Fazzi (Anunakin)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab2953b00510260356j7c162b1cu@mail.gmail.com \
    --to=boaglio@gmail.com \
    --cc=gentoo-user-br@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox