daniel atilio
(usa openSUSE)
Enviado em 08/08/2012 - 15:06h
Boa tarde Pessoal,
Fui instalar o MySQL (.rpm, do site oficial), e notei que Yast já havia instalado (não me recordo quando, ou se algum outro pacote que instalei, instalou o MySQL), acontece, que não consigo configurar nem acessá-lo, abaixo segue alguns erros:
-> Erro ao executar o mysql_secure_installation
'atilio-linux:/home/atilio # mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
.-> Erro ao executar mysql
'atilio-linux:/home/atilio # mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)'
.->Erro ao executar rcmysql start
'atilio-linux:/home/atilio # rcmysql start
redirecting to systemctl
Job failed. See system logs and 'systemctl status' for details.'
.->Retorno do comando rcmysql status
'atilio-linux:/home/atilio # rcmysql status
redirecting to systemctl
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed since Wed, 08 Aug 2012 15:05:15 -0300; 51s ago
Process: 15049 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/mysql.service'
--
Alguém saberia me dizer uma solução para este problema?
Agradeço desde já.
Abraços.