Dne Ne 13. dubna 2014 11:01:46, Per Jessen napsal(a):
Vojtěch Zeisek wrote:
Hi, after upgrade of our server to 13.1 I finally decided to switch from MySQL to MariaDB. I uninstalled MySQL packages and installed MariaDB. No problem, it works fine, including automysqlbackup and other tools. I just wonder how to start the DB automatically during computer boot.
I've been using mariadb for nearly twop years I think, auto-start works exactly as for mysql.
It doesn't for me. :-(
# systemctl enable mysql.service mysql.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig mysql on The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...).
Yeah, that's a stupid error-message:
https://bugzilla.novell.com/show_bug.cgi?id=859931
It's only a warning though, as far as I know.
Not in my case. Same problem I have with PostgreSQL. I have to start DBs manually in boot.local. With MySQL I hadn't had this problem before switching to MariaDB... All the best, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/