File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1424,7 +1424,7 @@ sub load_prereqs {
14241424% if ($type eq 'centos6') {
14251425service mysqld start
14261426service memcached start
1427- % } elsif ($type =~ /^(?:centos7|fedora23|oracle|oracle8|amazonlinux|amazonlinux2022)$/) {
1427+ % } elsif ($type =~ /^(?:centos7|fedora23|fedora40| oracle|oracle8|amazonlinux|amazonlinux2022)$/) {
14281428mysql_install_db --user=mysql --skip-name-resolve --force >/dev/null
14291429
14301430bash -c "cd /usr; mysqld_safe --user=mysql --datadir=/var/lib/mysql &"
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- echo ' default_authentication_plugin = mysql_native_password' >> /etc/my.cnf.d/mysql-server.cnf
5- mysqld --initialize-insecure --user=mysql --skip-name-resolve > /dev/null
6-
7- bash -c " cd /usr; mysqld --datadir='/var/lib/mysql' --user=mysql &"
4+ mysql_install_db --user=mysql --skip-name-resolve --force > /dev/null
85
6+ bash -c " cd /usr; mysqld_safe --user=mysql --datadir=/var/lib/mysql &"
97sleep 1
108until mysqladmin ping -h localhost --silent; do
119 echo ' waiting for mysqld to be connectable...'
You can’t perform that action at this time.
0 commit comments