From 4321df025d47141ea6a794437256a537ca77dd54 Mon Sep 17 00:00:00 2001 From: creme332 <65414576+creme332@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:33:03 +0400 Subject: [PATCH] use localhost instead of 127.0.0.1 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e1dec1..b4ecf2d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,13 +25,13 @@ jobs: run: | sudo /etc/init.d/mysql start mysql -e "CREATE DATABASE IF NOT EXISTS $TEST_DB_NAME;" -u$DB_USER -p$DB_PASSWORD - mysql -D$TEST_DB_NAME -u$DB_USER -p$DB_PASSWORD -h127.0.0.1 -P3306 < "resources/database/dump/cafe.sql" + mysql -D$TEST_DB_NAME -u$DB_USER -p$DB_PASSWORD -hlocalhost -P3306 < "resources/database/dump/cafe.sql" - name: Create .env file env: ENV: | PUBLIC_ROOT="http://localhost/steamy-sips/public" - DB_HOST="127.0.0.1" + DB_HOST="localhost" DB_USERNAME="root" DB_PASSWORD="root" TEST_DB_NAME="cafe_test"