From 04c130e596ab167d27b59eae3257852dbf9352a8 Mon Sep 17 00:00:00 2001 From: geo-chen Date: Tue, 30 Aug 2022 20:39:34 +0800 Subject: [PATCH 1/6] correcting default mysql port from 3309 to 3306 installation breaks using default config and manual edits to correct the port is currently required --- .env.unit-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.unit-tests b/.env.unit-tests index ad7930e3a..3a7263f86 100644 --- a/.env.unit-tests +++ b/.env.unit-tests @@ -4,7 +4,7 @@ APP_URL=http://snipe-it.localapp DB_CONNECTION=sqlite_testing DB_DEFAULT=sqlite_testing DB_HOST=localhost -DB_PORT=3309 +DB_PORT=3306 APP_KEY=base64:tu9NRh/a6+dCXBDGvg0Gv/0TcABnFsbT4AKxrr8mwQo= From 1f04cfdb44b01fd71b068a58a16f3a5484c468a9 Mon Sep 17 00:00:00 2001 From: geo-chen Date: Tue, 30 Aug 2022 20:39:50 +0800 Subject: [PATCH 2/6] correcting default mysql port from 3309 to 3306 installation breaks using default config and manual edits to correct the port is currently required --- .env.tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.tests b/.env.tests index 530e14456..038884e5d 100644 --- a/.env.tests +++ b/.env.tests @@ -4,7 +4,7 @@ APP_URL=http://snipe-it.localapp DB_CONNECTION=mysql DB_DEFAULT=mysql DB_HOST=localhost -DB_PORT=3309 +DB_PORT=3306 DB_DATABASE=snipeittests DB_USERNAME=snipeit DB_PASSWORD=snipe From 8fdca7f42b3e5a82617f048cc0384f52e84607c2 Mon Sep 17 00:00:00 2001 From: geo-chen Date: Tue, 30 Aug 2022 20:40:04 +0800 Subject: [PATCH 3/6] correcting default mysql port from 3309 to 3306 installation breaks using default config and manual edits to correct the port is currently required --- .env.testing-ci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.testing-ci b/.env.testing-ci index 25c3a7238..82cd28570 100644 --- a/.env.testing-ci +++ b/.env.testing-ci @@ -14,7 +14,7 @@ FILESYSTEM_DISK=local # -------------------------------------------- DB_CONNECTION=sqlite DB_HOST=localhost -DB_PORT=3309 +DB_PORT=3306 DB_DATABASE='sqlite_testing' DB_USERNAME=root DB_PASSWORD=null @@ -35,4 +35,4 @@ IMAGE_LIB=gd # -------------------------------------------- # OPTIONAL: APP LOG FORMAT # -------------------------------------------- -LOG_CHANNEL=single \ No newline at end of file +LOG_CHANNEL=single From 22596f4bb8c77f2ee98a7ce07f0472aa0b7a9f48 Mon Sep 17 00:00:00 2001 From: geo-chen Date: Tue, 30 Aug 2022 20:40:19 +0800 Subject: [PATCH 4/6] correcting default mysql port from 3309 to 3306 installation breaks using default config and manual edits to correct the port is currently required --- .env.testing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.testing b/.env.testing index b77758f0a..a60fc4e09 100644 --- a/.env.testing +++ b/.env.testing @@ -14,7 +14,7 @@ FILESYSTEM_DISK=local # -------------------------------------------- DB_CONNECTION=sqlite_testing DB_HOST=localhost -DB_PORT=3309 +DB_PORT=3306 DB_DATABASE=testing.sqlite DB_USERNAME=null DB_PASSWORD=null From 3ef25c3a4dea40782e5b570d1f04bfc27915883d Mon Sep 17 00:00:00 2001 From: geo-chen Date: Tue, 30 Aug 2022 20:40:35 +0800 Subject: [PATCH 5/6] correcting default mysql port from 3309 to 3306 installation breaks using default config and manual edits to correct the port is currently required --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index ad949f81c..72aafd007 100644 --- a/.env.example +++ b/.env.example @@ -24,7 +24,7 @@ PUBLIC_FILESYSTEM_DISK=local_public # -------------------------------------------- DB_CONNECTION=mysql DB_HOST=127.0.0.1 -DB_PORT=3309 +DB_PORT=3306 DB_DATABASE=null DB_USERNAME=null DB_PASSWORD=null From 4e7fea346814b0850e66a3e107d2b6fa977d6386 Mon Sep 17 00:00:00 2001 From: geo-chen Date: Tue, 30 Aug 2022 20:40:49 +0800 Subject: [PATCH 6/6] correcting default mysql port from 3309 to 3306 installation breaks using default config and manual edits to correct the port is currently required --- .env.dusk.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.dusk.local b/.env.dusk.local index f9162d076..33343ffc5 100644 --- a/.env.dusk.local +++ b/.env.dusk.local @@ -21,7 +21,7 @@ PUBLIC_FILESYSTEM_DISK=local_public # -------------------------------------------- DB_CONNECTION=mysql DB_HOST=localhost -DB_PORT=3309 +DB_PORT=3306 DB_DATABASE=snipeit-local DB_USERNAME=snipeit-local DB_PASSWORD=snipeit-local