public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP
@ 2005-10-26 10:56 Fernando Boaglio
  2005-10-26  9:43 ` Fernando Garrido Vaz
  0 siblings, 1 reply; 7+ messages in thread
From: Fernando Boaglio @ 2005-10-26 10:56 UTC (permalink / raw
  To: gentoo-user-br

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-27 14:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-26 10:56 [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP Fernando Boaglio
2005-10-26  9:43 ` 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)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox