I’m trying to get mythtv running on 13.1 (64-bit). I was having some trouble with MariaDB, so I uninstalled it and replaced it with MySql Community. However, when I try to start MySql, I get the following:
/etc/init.d/mysql start
redirecting to systemctl start mysql
Job for mysql.service failed. See ‘systemctl status mysql.service’ and ‘journalctl -xn’ for details.
When I look at the first of those two, I get:
systemctl status mysql.service
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Mon 2013-11-25 14:39:49 CST; 58s ago
Process: 29217 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Nov 25 14:39:49 Tonka-htpc systemd[1]: Starting LSB: Start the MySQL databa…
Nov 25 14:39:49 Tonka-htpc mysql[29217]: You are upgrading from different st…!
Nov 25 14:39:49 Tonka-htpc mysql[29217]: Make sure you to make backup of you…!
Nov 25 14:39:49 Tonka-htpc systemd[1]: mysql.service: control process exite…=1
Nov 25 14:39:49 Tonka-htpc systemd[1]: Failed to start LSB: Start the MySQL…r.
Nov 25 14:39:49 Tonka-htpc systemd[1]: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
When I run the second one, I get this:
journalctl -xn
– Logs begin at Thu 2013-11-21 17:18:25 CST, end at Mon 2013-11-25 14:42:21 CST
Nov 25 14:39:49 Tonka-htpc mysql[29217]: If you want to continue upgrading your
Nov 25 14:39:49 Tonka-htpc mysql[29217]: touch /var/lib/mysql/.force_upgrade
Nov 25 14:39:49 Tonka-htpc mysql[29217]: rcmysql restart
Nov 25 14:39:49 Tonka-htpc mysql[29217]: …failed
Nov 25 14:39:49 Tonka-htpc systemd[1]: mysql.service: control process exited, co
Nov 25 14:39:49 Tonka-htpc systemd[1]: Failed to start LSB: Start the MySQL data
– Subject: Unit mysql.service has failed
– Defined-By: systemd
– Support: systemd-devel Info Page
– Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02c
– Unit mysql.service has failed.
– The result is failed.
Nov 25 14:39:49 Tonka-htpc systemd[1]: Unit mysql.service entered failed state.
Nov 25 14:40:17 Tonka-htpc kernel: SFW2-INext-DROP-DEFLT IN=enp5s12 OUT= MAC=00:
Nov 25 14:41:12 Tonka-htpc kernel: SFW2-INext-DROP-DEFLT IN=enp5s12 OUT= MAC=00:
Nov 25 14:42:21 Tonka-htpc kernel: SFW2-INext-DROP-DEFLT IN=enp5s12 OUT= MAC=00:
If I try to start it through Services Manager, I get the full text:
Could not stop mysql which is currently enabled. mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Mon 2013-11-25 14:29:56 CST; 22ms ago
Process: 28896 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Nov 25 14:29:56 Tonka-htpc mysql[28896]: You are upgrading from different stable version of MySQL!
Nov 25 14:29:56 Tonka-htpc mysql[28896]: Make sure you to make backup of your data (mostly /var/lib/mysql)!
Nov 25 14:29:56 Tonka-htpc mysql[28896]: If you want to continue upgrading your database, run following commands:
Nov 25 14:29:56 Tonka-htpc mysql[28896]: touch /var/lib/mysql/.force_upgrade
Nov 25 14:29:56 Tonka-htpc mysql[28896]: rcmysql restart
Nov 25 14:29:56 Tonka-htpc mysql[28896]: …failed
Nov 25 14:29:56 Tonka-htpc systemd[1]: mysql.service: control process exited, code=exited status=1
Nov 25 14:29:56 Tonka-htpc systemd[1]: Failed to start LSB: Start the MySQL database server.
Nov 25 14:29:56 Tonka-htpc systemd[1]: Unit mysql.service entered failed state.
Running the commands in that error message give me the first error message above. I believe those messages are just a log of what the system attempted.
I found this thread http://forums.opensuse.org/english/get-technical-help-here/applications/478771-mysql-fails-start.html that seems to be a similar problem, but I have nothing in /var/log/mysql.
Any suggestions on how I can find more info so I can get it running? I’m a complete noob to MySql.