From: Fernando Boaglio <boaglio@gmail.com>
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 10:06:54 -0200 [thread overview]
Message-ID: <ab2953b00510260506k574e3642m@mail.gmail.com> (raw)
In-Reply-To: <200510260943.57283.fernandovaz@matrix.com.br>
[-- Attachment #1: Type: text/plain, Size: 2418 bytes --]
Pois é... ontem eu notei que os meus virtual hosts não estavam funcionando e
ajustei.
Mas rodando o info do PHP ele devolve:
mysql MySQL Supportenabled Active Persistent Links 0 Active Links 0 Client
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ão o php deveria estar funcionando, não?
2005/10/26, Fernando Garrido Vaz <fernandovaz@matrix.com.br>:
>
> Se o Tomcat acessa, não seria alguma coisa com o Apache, e não com o
> mysql?
> Lembre q na última atualização 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é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
>
> --
> gentoo-user-br@gentoo.org mailing list
>
>
--
[]'s
boaglio@gmail.com
[-- Attachment #2: Type: text/html, Size: 4402 bytes --]
next prev parent reply other threads:[~2005-10-26 12:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=ab2953b00510260506k574e3642m@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