Skip to content

A free open source IT asset/license management system

Declare DB_PORT in all .env files

Kyle Gordon98a111796b15
diff --git a/.env.dusk.local b/.env.dusk.local
index 6f8c31de49..f9162d0769 100644
--- a/.env.dusk.local
+++ b/.env.dusk.local
@@ -21,6 +21,7 @@ PUBLIC_FILESYSTEM_DISK=local_public
# --------------------------------------------
DB_CONNECTION=mysql
DB_HOST=localhost
+DB_PORT=3309
DB_DATABASE=snipeit-local
DB_USERNAME=snipeit-local
DB_PASSWORD=snipeit-local
diff --git a/.env.example b/.env.example
index d4074a170f..ad949f81c0 100644
--- a/.env.example
+++ b/.env.example
@@ -24,6 +24,7 @@ PUBLIC_FILESYSTEM_DISK=local_public
# --------------------------------------------
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
+DB_PORT=3309
DB_DATABASE=null
DB_USERNAME=null
DB_PASSWORD=null
diff --git a/.env.testing b/.env.testing
index eefb61c257..b77758f0a6 100644
--- a/.env.testing
+++ b/.env.testing
@@ -14,6 +14,7 @@ FILESYSTEM_DISK=local
# --------------------------------------------
DB_CONNECTION=sqlite_testing
DB_HOST=localhost
+DB_PORT=3309
DB_DATABASE=testing.sqlite
DB_USERNAME=null
DB_PASSWORD=null
diff --git a/.env.testing-ci b/.env.testing-ci
index 7b91a44b59..25c3a7238a 100644
--- a/.env.testing-ci
+++ b/.env.testing-ci
@@ -14,6 +14,7 @@ FILESYSTEM_DISK=local
# --------------------------------------------
DB_CONNECTION=sqlite
DB_HOST=localhost
+DB_PORT=3309
DB_DATABASE='sqlite_testing'
DB_USERNAME=root
DB_PASSWORD=null
diff --git a/.env.tests b/.env.tests
index 72a11973a2..530e144567 100644
--- a/.env.tests
+++ b/.env.tests
@@ -4,6 +4,7 @@ APP_URL=http://snipe-it.localapp
DB_CONNECTION=mysql
DB_DEFAULT=mysql
DB_HOST=localhost
+DB_PORT=3309
DB_DATABASE=snipeittests
DB_USERNAME=snipeit
DB_PASSWORD=snipe
diff --git a/.env.unit-tests b/.env.unit-tests
index e6ff51c7f9..ad7930e3ae 100644
--- a/.env.unit-tests
+++ b/.env.unit-tests
@@ -4,6 +4,7 @@ APP_URL=http://snipe-it.localapp
DB_CONNECTION=sqlite_testing
DB_DEFAULT=sqlite_testing
DB_HOST=localhost
+DB_PORT=3309
APP_KEY=base64:tu9NRh/a6+dCXBDGvg0Gv/0TcABnFsbT4AKxrr8mwQo=