Parcourir la source

mariadb rather than mysql

Bob Mottram il y a 7 ans
Parent
révision
0e4ec45c74

+ 1
- 1
src/freedombone-restore-local Voir le fichier

@@ -205,7 +205,7 @@ function restore_mariadb {
205 205
                 exit 962
206 206
             fi
207 207
             echo $"Restarting database"
208
-            systemctl restart mysql
208
+            systemctl restart mariadb
209 209
             echo $"Change the MariaDB password to the backup version"
210 210
             DATABASE_PASSWORD="$db_pass"
211 211
             ${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"

+ 1
- 1
src/freedombone-restore-remote Voir le fichier

@@ -198,7 +198,7 @@ function restore_mariadb {
198 198
                 exit 962
199 199
             fi
200 200
             echo $"Restarting database"
201
-            systemctl restart mysql
201
+            systemctl restart mariadb
202 202
             echo $"Change the MariaDB password to the backup version"
203 203
             DATABASE_PASSWORD="$db_pass"
204 204
             ${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD"

+ 1
- 1
src/freedombone-utils-database Voir le fichier

@@ -166,7 +166,7 @@ function install_mariadb {
166 166
     #    echo $'/etc/mysql/conf.d/my.cnf not found'
167 167
     #    exit 6376245
168 168
     #fi
169
-    systemctl restart mysql
169
+    systemctl restart mariadb
170 170
 
171 171
     mysqladmin -u root password "$MARIADB_PASSWORD"
172 172
     mark_completed $FUNCNAME