Dne Ne 13. dubna 2014 14:22:10, Per Jessen napsal(a):
Vojtěch Zeisek wrote:
Dne Ne 13. dubna 2014 13:26:35, Per Jessen napsal(a):
Vojtěch Zeisek wrote:
Dne Ne 13. dubna 2014 11:01:46, Per Jessen napsal(a):
Vojtěch Zeisek wrote: No output from "systemctl status mysql.service" at all?? On a successful start, this is mine:
# systemctl status mysql.service mysql.service - LSB: Start the MySQL database server Loaded: loaded (/etc/init.d/mysql) Active: active (running) since Thu, 2014-04-10 09:37:27 CEST; 3 days ago Process: 17719 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/mysql.service 17801 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock --datadir=/srv/mysql 18192 /usr/sbin/mysqld --basedir=/usr --datadir=/srv/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/mysqld.log --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql....
Apr 10 09:37:22 adenauer systemd[1]: Starting LSB: Start the MySQL database server... Apr 10 09:37:27 adenauer mysql[17719]: Starting service MySQL ..done Apr 10 09:37:27 adenauer systemd[1]: Started LSB: Start the MySQL database serve
OK, nothing interesting. ;-) # systemctl status mysql.service mysql.service - LSB: Start the MySQL database server Loaded: loaded (/etc/init.d/mysql) Active: active (running) since So 2014-04-12 16:42:01 CEST; 21h ago CGroup: /system.slice/mysql.service ├─4740 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql -- pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock -- datadir=/var/lib/mysql └─5112 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql -- plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log- error=/var/lib/mysql/botany.err --pid-file=/var/run/mysql/mysqld.pid -- socket=/var/run/mysql/mysql.sock dub 12 16:42:01 botany mysql[4429]: Starting service MySQL ..done dub 12 16:42:01 botany systemd[1]: Started LSB: Start the MySQL database server.
When I use systemctl start mysql.service it starts as expected, so that there is IMHO no reason to other complains than those written by systemctl enable mysql.service... There is no error in MySQL logs. V.
No, your mysql setup is clearly working, so it's a systemd/startup issue. Is mysql enabled in sysvinit? "chkconfg mysql" ? If not, enable it. Maybe "systemctl enable mysql" did not in fact enable it, even if it said so.
# chkconfig mysql mysql on I also checked yast runlevel editor and there mysql is enabled... Thank You, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/