public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jeronimo Zucco <jczucco@ucs.br>
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:13:31 -0200	[thread overview]
Message-ID: <1130328811.435f72eba3607@webmail.ucs.br> (raw)
In-Reply-To: <ab2953b00510260506k574e3642m@mail.gmail.com>

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



  reply	other threads:[~2005-10-26 12:13 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 [this message]
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=1130328811.435f72eba3607@webmail.ucs.br \
    --to=jczucco@ucs.br \
    --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