Enviado em 12/07/2011 - 03:42h
INICIANDO MYSQL:
root@slack:/home/william# /etc/rc.d/rc.mysqld start
root@slack:/home/william# 110714 18:53:49 mysqld_safe Logging to '/var/lib/mysql/slack.err'.
110714 18:53:49 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110714 18:53:49 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended
trava aqui.
E quando vou colocar a senha de root:
root@slack:/usr/bin# mysqladmin -u root -h slack password 'minhasenha'
Ele da essa mensagem:
usr/bin/mysqladmin: connect to server at 'slack' failed
error: 'Unknown MySQL server host 'slack' (1)'
Check that mysqld is running on slack and that the port is 3306.
You can check this by doing 'telnet slack 3306
Traduzindo, é mais ou menos isso:
usr / bin / mysqladmin: conexão para o 'slack' falhou
erro: "Unknown host do servidor MySQL 'slack' (1) '
Verifique se o mysqld está em execução em slack e que a porta é 3306.
Você pode verificar isso fazendo 'telnet slack 3306
Ou seja, não consigo colocar a senha do root, pq meu mysql não iniciar.
root@slack:/home/william# /etc/rc.d/rc.mysqld start
root@slack:/home/william# 110714 18:53:49 mysqld_safe Logging to '/var/lib/mysql/slack.err'.
110714 18:53:49 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110714 18:53:49 mysqld_safe mysqld from pid file /var/run/mysql/mysql.pid ended
trava aqui.
E quando vou colocar a senha de root:
root@slack:/usr/bin# mysqladmin -u root -h slack password 'minhasenha'
Ele da essa mensagem:
usr/bin/mysqladmin: connect to server at 'slack' failed
error: 'Unknown MySQL server host 'slack' (1)'
Check that mysqld is running on slack and that the port is 3306.
You can check this by doing 'telnet slack 3306
Traduzindo, é mais ou menos isso:
usr / bin / mysqladmin: conexão para o 'slack' falhou
erro: "Unknown host do servidor MySQL 'slack' (1) '
Verifique se o mysqld está em execução em slack e que a porta é 3306.
Você pode verificar isso fazendo 'telnet slack 3306
Ou seja, não consigo colocar a senha do root, pq meu mysql não iniciar.