Problemas ao instalar o Mysql5

2008-08-27 Por tôpico Rafael Tomelin
Olá pessoal,

Instalei o mysql5 pelo apt-get, porem ele só está me permitindo o acesso
local e quero se consiga acessar o mysql de qualquer lugar.  Como posso
estar mudando isso?

debian:~# netstat -ant
tcp0  0 *127.0.0.1:3306*  0.0.0.0:*   LISTEN


Re: Problemas ao instalar o Mysql5

2008-08-27 Por tôpico Ricardo Ichizo
Olá Rafael,

On Wed, Aug 27, 2008 at 10:07:14AM -0300, Rafael Tomelin wrote:
 
Instalei o mysql5 pelo apt-get, porem ele só está me permitindo o acesso
local e quero se consiga acessar o mysql de qualquer lugar.  Como posso
estar mudando isso?
 
debian:~# netstat -ant
tcp0  0 [1]127.0.0.1:3306  0.0.0.0:*
LISTEN
 

O parâmetro bind-address no arquivo de configuração do MySQL 
(/etc/mysql/my.cnf)
deve ficar dessa maneira:

  bind-address= 0.0.0.0

Depois basta reiniciar o serviço:

  /etc/init.d/mysql restart

[]'s
-- 
  _(~)_
   )(  [[ n1ghtcr4wler ]]
  (@_@)   xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature