Re: [R]Starting MySQL database server: mysqld...failed.
Tente colocar um link na pasta tmp.
ln -s /var/lib/mysql/mysqlsock /tmp/mysql.sock
teste isso ai...
--- Bruno Lellis <brunolellis@gmail.com> escreveu:
> Parece que o MySQL está rodando normalmente.
> Você tenta conectar e aparece algum erro?
>
>
> On Tue, 21 Dec 2004 11:52:45 -0300, Raphael - CPD -
> Unimed 256
> <raphael@unimedsudoestemg.com.br> wrote:
> >
> >
> > 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#
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Carlos Henrique
> > To: Lista de discussão
> > Sent: Tuesday, December 21, 2004 8:26 AM
> > Subject: Re: [R]Starting MySQL database server:
> mysqld...failed.
> >
> >
> > Posta aí os logs de erro. Fica mais fácil de ter
> idéia do que está
> > acontecendo...
> >
> > ----- Original Message -----
> > From: Raphael - CPD - Unimed 256
> > To: debian-user-portuguese@lists.debian.org
> > Sent: Tuesday, December 21, 2004 10:19 AM
> > Subject: [R]Starting MySQL database server:
> mysqld...failed.
> >
> >
> >
> > olá Pessoal
> >
> > quando eu dou um start no meu mysql só dá failed
> > o mysql funciona normal local
> > não sei o que esta acontecendo
> > abaixo o meu my.cnf
> >
> > qq ajuda sera bem vinda
> >
> > Raphael
> >
> >
> > # This will be passed to all mysql clients
> > [client]
> > #password = my_password
> > port = 3306
> > socket = /var/run/mysqld/mysqld.sock
> >
> > # Here is entries for some specific programs
> > # The following values assume you have at least
> 32M ram
> >
> > [safe_mysqld]
> > err-log = /var/log/mysql/mysql.err
> >
> > [mysqld]
> > user = mysql
> > pid-file = /var/run/mysqld/mysqld.pid
> > socket = /var/run/mysqld/mysqld.sock
> > port = 3306
> > #
> > # You can also put it into
> /var/log/mysql/mysql.log but I leave it in
> > /var/log
> > # for backward compatibility. Both location gets
> rotated by the cronjob.
> > #log = /var/log/mysql/mysql.log
> > log = /var/log/mysql.log
> > basedir = /usr
> > datadir = /var/lib/mysql
> > tmpdir = /tmp
> > language = /usr/share/mysql/english
> > skip-locking
> > #
> > # The skip-networkin option will no longer be set
> via debconf menu.
> > # You have to manually change it if you want
> networking i.e. the server
> > # listening on port 3306. The default is "disable"
> - for security reasons.
> > #skip-networking
> > set-variable = key_buffer=16M
> > set-variable = max_allowed_packet=1M
> > set-variable = thread_stack=128K
> > #
> > # Here you can see queries with especially long
> duration
> > #log-slow-queries =
> /var/log/mysql/mysql-slow.log
> > #
> > # The following can be used as easy to replay
> backup logs or for replication
> > #server-id = 1
> > #log-bin =
> /var/log/mysql/mysql-bin.log
> > #binlog-do-db = include_database_name
> > #binlog-ignore-db = include_database_name
> > #
> > # Read the manual if you want to enable InnoDB!
> > skip-innodb
> >
> > [mysqldump]
> > quick
> > set-variable = max_allowed_packet=1M
> >
> > [mysql]
> > #no-auto-rehash # faster start of mysql but no tab
> completition
> >
> > [isamchk]
> > set-variable = key_buffer=16M
> >
>
>
=====
Eduardo Tadeu
Caixa Econômica Federal
Brasília-DF
_______________________________________________________
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis
Reply to: