Skip to content

Commit

Permalink
GHA: use docker images as databases 10 bitnami images
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Nov 27, 2024
1 parent aa78d75 commit 118207b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env.mysql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
MARIADB_ROOT_PASSWORD=mysql
MYSQL_ROOT_PASSWORD=mysql
MYSQL_DATABASE=mysql
MYSQL_USER=mysql
Expand Down
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ services:

mysql:
container_name: mysqldump-php-mysql-80
image: mysql:8.0
image: bitnami/mysql:8.0
env_file:
- .env.mysql
volumes:
- ./docker-entrypoint-initdb.d/mysql-init.sql:/docker-entrypoint-initdb.d/00-init.sql

mariadb:
container_name: mysqldump-php-mariadb-10
image: mariadb:10.11
image: bitnami/mariadb:10.11
env_file:
- .env.mysql
volumes:
Expand Down
2 changes: 1 addition & 1 deletion src/Mysqldump.php
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ private function listValues(string $tableName)
$resultSet = $this->conn->query($stmt);
$resultSet->setFetchMode(PDO::FETCH_ASSOC);

$ignore = $this->settings->isEnabled('insert-ignore') ? ' IGNORE' : '';
$ignore = $this->settings->isEnabled('insert-ignore') ? ' IGNORE' : '';
$count = 0;

$isInfoCallable = $this->infoCallable && is_callable($this->infoCallable);
Expand Down

0 comments on commit 118207b

Please sign in to comment.