From: "Marcus Fazzi (Anunakin)" <anunakin@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] MySQL 4.0 -> 4.1 - problemas no PHP
Date: Thu, 27 Oct 2005 11:28:49 -0300 [thread overview]
Message-ID: <f95b8f060510270728w7b46013en@mail.gmail.com> (raw)
In-Reply-To: <ab2953b00510270323h77ad256q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4849 bytes --]
Eu fiz emerge do mysql e depois do php e mod_php e aqui funcionou
direitinho, só achei que ficou lento pacas quando o acesso é via rede, em
relação ao mysql 4.0, no localhost está normal.... só não sei o motivo..
Em 27/10/05, Fernando Boaglio <boaglio@gmail.com> escreveu:
>
> Achei essa thread aqui que tinha a solução:
>
> http://forums.gentoo.org/viewtopic-t-393430.html
>
> Tem que fazer o emerge desses 3:
>
> libwww, mod_php e php
>
> O pessoal até vai atualizar o mysql-upgrading.xml<http://www.gentoo.org/doc/en/mysql-upgrading.xml>com essa infomação!
>
> []'s
> boaglio@gmail.com
>
>
> Em 26/10/05, Fernando Boaglio <boaglio@gmail.com> escreveu:
> >
> > No meu
> >
> > /etc/mysql/my.cnf
> >
> > Eu coloquei a opção no final do arquivo:
> > old_passwords
> >
> >
> > Isso não é o suficiente?
> >
> > Em 26/10/05, Jeronimo Zucco <jczucco@ucs.br > escreveu:
> > >
> > > Roda o mysql 4.1 com a opção "--old-passwords"
> > >
> > > --
> > > Jeronimo Zucco
> > > LPIC-1 Linux Professional Institute Certified
> > > Núcleo de Processamento de Dados
> > > Universidade de Caxias do Sul
> > >
> > > http://jczucco.blogspot.com
> > >
> > >
> > > Citando Fernando Boaglio <boaglio@gmail.com>:
> > >
> > > > 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
> > > >
> > >
> > >
> > > ----------------------------------------------------------------
> > > This message was sent using IMP, the Internet Messaging Program.
> > >
> > > --
> > > gentoo-user-br@gentoo.org mailing list
> > >
> > >
> >
> >
> > --
> > []'s
> > boaglio@gmail.com
>
>
>
>
>
--
Marcus André Fazzi Ribeiro
http://www.vivaphp.net
AMD Athlon XP 2400, 512 MB com Gentoo Linux
Sony PlayStation 2 50001 v9, HDD 80GB com PS2Linux
Sony PSP 1001K v1.50, MSDUO 1GB
[-- Attachment #2: Type: text/html, Size: 7779 bytes --]
prev parent reply other threads:[~2005-10-27 14:29 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
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 message]
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=f95b8f060510270728w7b46013en@mail.gmail.com \
--to=anunakin@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