ok. est� tudo "nos conformes"... o my.cnf est� exatamente assim...
Em Sex 18 Fev 2005 09:55, Erick Tostes escreveu: > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> > <title></title> > </head> > <body bgcolor="#ffffff" text="#000000"> > Cara, verifique se o mysql está abilitado a receber > conecções externas, faz assim<br> > <br> > nmap -sT localhost <br> > <br> > e veja se a porta 3306 está sendo escutada, se naum .. veja dentro > do arquivo /etc/mysql/my.cnf <br> > Encontre essa area e comente a opção > <b>#skip-networking</b><br> <br> > # The skip-networking option will no longer be set via debconf menu.<br> > # You have to manually change it if you want networking i.e. the server<br> > # listening on port 3306. The default is "disable" - for security > reasons.<br> > #skip-networking<br> > key_buffer   >; = 16M<br> max_allowed_packet = > 16M<br> > thread_stack &nb >sp; = 128K<br> <br> > <br> > Reestarte o mysql e veja se a porta está aberta !! <br> > <br> > <br> > <br> > <br> > Alexandre Chaves wrote: > <blockquote cite="[EMAIL PROTECTED]" > type="cite"> > <pre wrap="">saudações pessoALL, > > a situação: > server1 - postfix + mysql > server2 - apache + webmail > > preciso fazer com q server2 se conecte ao mysql (server1) em determinada > base de dados. localmente server1 faz a conexão com a base sem > problemas. mas quando server2 tenta se conectar (com mesmo usuário e > senha) dá "PERMISSION DENIED". > > em server1 (como root) entrei os seguintes comandos no mysql: > grant all privileges on DB.* to usuá[EMAIL PROTECTED] identified by > password 'senha'; > flush privileges; > > mesmo assim continua "PERMISSION DENIED". > > any ideas? > </pre> > </blockquote> > <br> > </body> > </html> -- Etrex - Wireless, Internet e Conectividade Av. Paschoal Ardito, 1346 - Sala 14 S�o Vito - Americana CEP 13473-010 Fone: +55 19 3468.7456 email: [EMAIL PROTECTED]

