Re: Re[4]: MySQL
On Sat, 2002-06-08 at 06:56, Fredy wrote:
> Bufff... estoy cansado de pelearme con esto del MySQL y eso que solo
> quiero hacerlo andar, pero nada... no hay manera no responde ni
> siquiera a un version:
>
> Starting MySQL database server: mysqld.
> nevenka:/home/fredy# mysqladmin version
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root@localhost' (Using password: NO)'
>
> Tras ver si realmente tengo el servidor rulando...
>
> nevenka:/home/fredy# ps -A u | grep mysql
>
> root 173 0.0 0.4 2180 1084 ? S 05:19 0:00 sh /usr/bin/safe_mysqld
>
> mysql 226 0.1 1.7 36488 4492 ? S 05:19 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
>
> mysql 230 0.0 1.7 36488 4492 ? S 05:19 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
>
> mysql 231 0.0 1.7 36488 4492 ? S 05:19 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
>
> mysql 232 0.0 1.7 36488 4492 ? S 05:19 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
> --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
>
> root 270 0.0 0.1 1332 424 pts/0 S 05:22 0:00 grep mysql
>
>
> Creo que si, de hecho he vuelto a hacer un dpkg-reconfigure
> mysql-server y en el programilla de configuracion me avisa de lo
> siguiente:
>
>
> security and update notice #
> ¦ ¦
> ¦ MySQL will only install if you have a NON-NUMERIC hostname that is ¦
> ¦ resolvable via the /etc/hosts file. E.g. if the "hostname" command ¦
> ¦ returns "myhostname" then there must be a line like "127.0.0.1 ¦
> ¦ myhostname". ¦
> ¦ ¦
> ¦ A new mysql user "debian-sys-maint" will be created. He is used in the ¦
> ¦ start/stop and cron scripts. Don't delete him. ¦
> ¦ ¦
> ¦ Please remember to set a PASSWORD for the MySQL root user! If you use a ¦
> ¦ /root/.my.cnf, always write the "user" and the "password" lines in ¦
> ¦ there, never only the password! See ¦
> ¦ /usr/share/doc/mysql-server/README.Debian for more information.
>
>
> Leyendo detenidamente me doy cuenta que quizás el fallo esté en
> /etc/hosts pero tal y como dice ejecuto un hostname y me sale que el
> nombre es nevenka y en el /etc/hosts tengo puesto lo siguiente:
>
> 127.0.0.1 localhost nevenka
> 172.26.0.3 localhost nevenka
>
prueba a dejar la línea del localhost como:
127.0.0.1 localhost
sin el nevenka. Puede ser que esté lanzando el servidor en 172.26.0.3, y
al buscar en /etc/hosts, primero encuentra 127.0.0.1 relacionado con
nevenka.
saludos
--
Rodrigo Moya <rodrigo@gnome-db.org>
--
To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: