Tou tentando fazer uma conexao remota no mysql.
no servidor eu digito
#mysql -u root -p
dai funciona legal.
mas qd eu tento restarta o mysql ele da uma flha dai nao consegui acessa-lo remoto.
net256:~# /etc/init.d/mysql stop
Starting MySQL database server: mysql...failed.
net256:~#
vejam o log
net256:/var/log# cat mysql.log |more
mysqld, Version: 3.23.49-log, started with:
Tcp port: 0 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
mysqld, Version: 3.23.49-log, started with:
Tcp port: 0 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
041221 9:16:54 1 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
2 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:16:56 3 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:16:57 4 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:16:58 5 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:17:00 6 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:17:01 7 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:17:02 8 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
041221 9:17:03 9 Connect Access denied for user: 'debian-sys-maint@localhost' (Using passwo
rd: YES)
net256:/var/log/mysql# cat mysql.err
A mysqld process already exists at Tue Dec 21 08:29:30 BRST 2004
A mysqld process already exists at Tue Dec 21 08:31:30 BRST 2004
A mysqld process already exists at Tue Dec 21 08:31:48 BRST 2004
A mysqld process already exists at Tue Dec 21 08:37:18 BRST 2004
A mysqld process already exists at Tue Dec 21 08:59:31 BRST 2004
A mysqld process already exists at Tue Dec 21 09:08:05 BRST 2004
A mysqld process already exists at Tue Dec 21 09:09:45 BRST 2004
A mysqld process already exists at Tue Dec 21 09:11:33 BRST 2004
A mysqld process already exists at Tue Dec 21 09:13:38 BRST 2004
A mysqld process already exists at Tue Dec 21 09:16:57 BRST 2004
041221 09:58:44 mysqld ended
041221 09:59:33 mysqld started
/usr/sbin/mysqld: ready for connections
A mysqld process already exists at Tue Dec 21 11:59:28 BRST 2004
net256:/var/log/mysql#
alguem pode me ajudar?
obrigado.