mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Ubuntu] install mysql init script for sysVinit compatibility (#4736)
This commit is contained in:
@@ -45,6 +45,11 @@ if isUbuntu20 ; then
|
||||
dpkg -i $package
|
||||
done
|
||||
|
||||
# Install the /etc/init.d/mysql script for backward compatibility with sysVinit
|
||||
cp $HELPER_SCRIPTS/mysql-service-helper.sh /etc/init.d/mysql
|
||||
# Fix permission
|
||||
chmod 755 /etc/init.d/mysql
|
||||
|
||||
# Start mysql to change its settings
|
||||
systemctl start mysql.service
|
||||
# Enable mysql log-in without sudo by activation of the mysql_native_password plugin
|
||||
|
||||
Reference in New Issue
Block a user