[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Re: ERRO INSTALANDO MYSQL NO DEBIAN SOCORRRRRRRRRRRRRRO!!!



Ou tente desse jeito comigo sempre funciono mas cuidado com chown   mysql
falow
 =D


groupadd mysql
useradd -g mysql -s /bin/false -d /bin/false mysql
./configure --prefix=/usr/local/mysql
make
make install
cp support-files/my-medium.cnf /etc/my.cnf
cd /usr/local/mysql
bin/mysql_install_db --user=mysql
chown -R root  .
chown -R mysql var
chgrp -R mysql .
bin/mysqld_safe --user=mysql &
/usr/local/mysql/bin/mysqladmin -u root password 'NEWPASSWORD'


* Konnichiwa Fabio Lima-sama:
> INSTALEI O MYSQL NO DEBIAN E QUANDO VAI STARTAR O MYSQL ACONTECE ESSE ERRO ABAIXO. ALGUEM SABE COMO ARRUMAR ISSO?
>
> DESDE JÁ AGRADEÇO
>
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' > Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

        Seguinte, vc usa o SID ? Parece-me que a nova versão do
mysql-server mudou de nome e não é atualizada quando se dá um apt-get
upgrade ou dist-upgrade.
        Dê um apt-get install mysql-server-4.1. Isso irá resolver.

[]'s,

Still
--
Nelson Luiz Campos                  .''`.     | I hear; I forget.
Engenheiro Eletricista             : :'  :    | I see; I remember.
Linux User #89621 UIN 11464303     `. `'`     | I do; I understand.
gnupgID: 55577339                    `-       | Chinese Proverb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDBl6Svfbs9VVXczkRAmwQAJ9q6MT0j8hYlpuHFZiJ3ipcbcesUQCggKEO
h/jabCwVrzo+X9dD3y7JDxw=
=n47H
-----END PGP SIGNATURE-----

Reply to: