Skip to content

Commit 20ff597

Browse files
ltangvalddahlerlend
authored andcommitted
Bug#27710661 SERVICE START FAILED TO CREATE DATABASE IF IT DOESN'T EXISTS
The systemd service script didn't correctly source the helper script responsible for making sure the database files are ready.
1 parent 850ae37 commit 20ff597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/deb-in/extra/mysql-systemd-start

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License, version 2.0,
@@ -29,7 +29,7 @@
2929
# pre mode : try to perform sanity check for configuration, log, data
3030

3131
# Include helper functions
32-
. /usr/share/mysql/mysql-helpers
32+
. /usr/share/mysql-@MYSQL_BASE_VERSION@/mysql-helpers
3333

3434
sanity () {
3535
# Make sure database and required directories exist

0 commit comments

Comments
 (0)