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 21.09.2018 10:57
    Hi, Markus. Well, I think you go in a wrong direction. You just need to customize the readmore button ...

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mf@cm-audio.net mf@cm-audio.net 21.09.2018 10:53
    Dear gruz, I don't want to load the article in background. The "... weiterlesen ..." should be a link ...

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    gruz gruz 19.09.2018 14:46
    Hi, Markus. Please clarify: Do you need a custom read more button (so "... weiterlesen..." should ...

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    mf@cm-audio.net mf@cm-audio.net 19.09.2018 14:19
    great plugin, I love it ;-) we use it on our page musikserver.news. There is one feature I really ...

    Read more...

     
  • AutoReadMore - automatic read more for Joomla

    gruz gruz 21.08.2018 11:27
    I'm happy you have help your self to solve your problem (-:

    Read more...