aboutsummaryrefslogtreecommitdiffstats
path: root/.env.mysql
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-07-23 21:39:11 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-07-23 21:39:11 -0400
commit5264264333f211c9d40108955e167d28fa73f77d (patch)
tree6801a3d0460360bff5bc0b76ac482fa774e97043 /.env.mysql
parentFix contributing link (diff)
downloadcli-5264264333f211c9d40108955e167d28fa73f77d.zip
Use DSN for handling connection parameters
Diffstat (limited to '.env.mysql')
-rw-r--r--.env.mysql8
1 files changed, 2 insertions, 6 deletions
diff --git a/.env.mysql b/.env.mysql
index 4b71b13..7967639 100644
--- a/.env.mysql
+++ b/.env.mysql
@@ -1,7 +1,3 @@
-BOLT_DB_NAME=test_db
-BOLT_DB_HOST=localhost
-BOLT_DB_PORT=4002
-BOLT_DB_USER=test_user
-BOLT_DB_PASSWORD=testpassword
+BOLT_DB_DSN=test_user:testpassword@tcp(localhost:4002)/test_db?parseTime=true
BOLT_DB_DRIVER=mysql
-BOLT_DB_MIGRATIONS_TABLE=bolt_migrations
+BOLT_DB_MIGRATIONS_TABLE=bolt_migrations \ No newline at end of file