Olá pessoal
Fiz uma nova instalação aqui do Freebsd, e instalei as aplicaçoes na seguinte ordem: 1 - mysql-server 2 - apache 3 - php5 e agora está funcionando certinho sem erros. Antes estava instalando nesse sequencia: 1 - apache 2 - php5 3 - mysql creio que possa ser algum conflito de alguma dependência do php com o mysql-sever... Abraços... João B. Corsini Analista de Suporte > Date: Thu, 17 Jun 2010 12:07:12 -0300 > From: welk...@focusautomacao.com.br > To: freebsd@fug.com.br > Subject: Re: [FUG-BR] Mensagem de socket ao iniciar o Mysql5.5 server > > Samuel Peres escreveu: > > Acredito que o arquivo /tmp/mysql.sock não pode ser criado com o comando > > touch, o mesmo é um arquivo especial do tipo socket criado e removido > > automaticamente quando o serviço é iniciado e parado, respectivamente. Veja: > > > > # ls -l /tmp/mysql.sock > > srwxrwxrwx 1 mysql wheel 0 Jun 9 00:17 /tmp/mysql.sock= > > > > O "s" ai no início indica que o arquivo é um socket. > > > > Samuel Peres > > > > Tem razão Samuel... mas acho que encontrei a solução para o problema... > no próprio FAQ do MySQL... > > Veja: > http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html > > " > The error (2002) |Can't connect to ...| normally means that there is no > MySQL server running on the system or that you are using an incorrect > Unix socket file name or TCP/IP port number when trying to connect to > the server. You should also check that the TCP/IP port you are using has > not been blocked by a firewall or port blocking service. " > > Ou seja... talvez não seja permissão, e sim o firewall bloqueando a > porta 3306... > > Compilou o kernel no modo FECHADO Corsini? > > Lista as regras aqui pra gente (ipfw list se for IPFW, ou pfctl -s rules > se for PF). > > -- > Welkson Renny de Medeiros > Desenvolvimento / Gerência de Redes > Focus Automação Comercial > FreeBSD Community Member > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd _________________________________________________________________ O INTERNET EXPLORER 8 TE AJUDA A FICAR PROTEGIDO DE FRAUDES NA WEB. LEIA MAIS AQUI. http://www.microsoft.com/brasil/windows/internet-explorer/features/dicas.aspx?tabid=1&catid=1&WT.mc_id=1589 ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd