User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Robot spider for disastersAfter upgrading my OpenSuse to 12.3 I could not start mysql.

# systemctl start mysql.service
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -n' for details.

journalctl -n gave me among others:

Mar 17 05:55:09 gruz systemd[1]: mysql.service: control process exited, code=exited status=1
Mar 17 05:55:09 gruz systemd[1]: Failed to start LSB: Start the MySQL database server.
Mar 17 05:55:09 gruz systemd[1]: Unit mysql.service entered failed state

Running # mysql_secure_installation asked passwrod but didn't accept any:

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)

Solution:

I had two problems - mysql database folder and files owner and an empty file .run-mysql_upgrade.

So here is how I solved it:

chown -R mysql:mysql /var/lib/mysql; rm /var/lib/.run-mysql_upgrade

Comments   

ralph
+1 # ralph 2013-09-21 13:01
had the same problem - your solution worked for me too. Thank you!
Chris
+1 # Chris 2014-01-07 23:34
Bravo! The chown command you suggested worked perfectly. Thanks very much!!
Chris

Please register to post comments.

Found a typo? Please select it and press Ctrl + Enter.
FaLang translation system by Faboba
ОУН-УПА: легенда спротиву Українська Дивізія «Галичина» Зиновій Книш: спогади й матеріали до діяння УВО і ОУН Реаніматор електронних текстів Забуттю не підлягає 1917-1991

See a typo?

Select the text block and press

CTRL+Enter

Comments

  • AutoReadMore - automatic read more for Joomla

    gruz gruz 16.01.2019 13:41
    Hi. Currently it's not possible to make intotext as the link. If you badly need, mail me, I'll try ...

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mrwad mrwad 13.01.2019 13:23
    Dear Gruz! One more question. Is there any way to hide and make (blog text) clickable instead?

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mrwad mrwad 27.12.2018 22:25
    My bad! Thank you for great plugin!

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    gruz gruz 27.12.2018 00:09
    Hi. Did you try setting "Strip Formatting" to yes?

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mrwad mrwad 26.12.2018 21:16
    Dear Gruz! Thank you for awesome plugin! That saved a lot of time for me developing websites! I have ...

    Read more...