Skip to content

Commit e72ee50

Browse files
committed
fix: update mysql bash script to use correct db name
1 parent 41322f7 commit e72ee50

File tree

1 file changed

+1
-1
lines changed
  • cli/template/extras/start-database

1 file changed

+1
-1
lines changed

cli/template/extras/start-database/mysql.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ source .env
1717
DB_PASSWORD=$(echo "$DATABASE_URL" | awk -F':' '{print $3}' | awk -F'@' '{print $1}')
1818
DB_PORT=$(echo "$DATABASE_URL" | awk -F':' '{print $4}' | awk -F'\/' '{print $1}')
1919
DB_NAME=$(echo "$DATABASE_URL" | awk -F'/' '{print $4}')
20-
DB_CONTAINER_NAME="$DB_NAME-postgres"
20+
DB_CONTAINER_NAME="$DB_NAME-mysql"
2121

2222
if ! [ -x "$(command -v docker)" ] && ! [ -x "$(command -v podman)" ]; then
2323
echo -e "Docker or Podman is not installed. Please install docker or podman and try again.\nDocker install guide: https://docs.docker.com/engine/install/\nPodman install guide: https://podman.io/getting-started/installation"

0 commit comments

Comments
 (0)