Skip to content

Commit

Permalink
Fix MySQL Data Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tommaso-borgato committed Oct 7, 2024
1 parent 369d110 commit 438a017
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions builder/src/main/java/cz/xtf/builder/db/MySQL.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@
public class MySQL extends AbstractSQLDatabase {

public MySQL() {
super("MYSQL", "/var/lib/mysql/data");
super("MYSQL", "/var/lib/mysql");
}

public MySQL(boolean withLivenessProbe, boolean withReadinessProbe) {
super("MYSQL", "/var/lib/mysql/data", withLivenessProbe, withReadinessProbe);
super("MYSQL", "/var/lib/mysql", withLivenessProbe, withReadinessProbe);
}

public MySQL(boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe) {
super("MYSQL", "/var/lib/mysql/data", withLivenessProbe, withReadinessProbe, withStartupProbe, true);
super("MYSQL", "/var/lib/mysql", withLivenessProbe, withReadinessProbe, withStartupProbe, true);
}

public MySQL(PersistentVolumeClaim pvc) {
super("MYSQL", "/var/lib/mysql/data", pvc);
super("MYSQL", "/var/lib/mysql", pvc);
}

public MySQL(PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe) {
super("MYSQL", "/var/lib/mysql/data", pvc, withLivenessProbe, withReadinessProbe);
super("MYSQL", "/var/lib/mysql", pvc, withLivenessProbe, withReadinessProbe);
}

public MySQL(PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe) {
super("MYSQL", "/var/lib/mysql/data", pvc, withLivenessProbe, withReadinessProbe, withStartupProbe);
super("MYSQL", "/var/lib/mysql", pvc, withLivenessProbe, withReadinessProbe, withStartupProbe);
}

public MySQL(String username, String password, String dbName) {
super(username, password, dbName, "MYSQL", "/var/lib/mysql/data");
super(username, password, dbName, "MYSQL", "/var/lib/mysql");
}

@Override
Expand Down

0 comments on commit 438a017

Please sign in to comment.