Skip to content

Commit b6d18b0

Browse files
tenten8401DaneEveritt
authored andcommitted
Add support for authentication via Unix socket (pterodactyl#1206)
Co-authored-by: @tenten8401
1 parent 1df3efd commit b6d18b0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
77
### Added
88
* Nodes can now be put into maintenance mode to deny access to servers temporarily.
99
* Basic statistics about your panel are now available in the Admin CP.
10+
* Added support for using a MySQL socket location for connections rather than a TCP connection. Set a `DB_SOCKET` variable in your `.env` file to use this.
1011

1112
### Fixed
1213
* Hitting Ctrl+Z when editing a file on the web now works as expected.

config/database.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
'mysql' => [
3535
'driver' => 'mysql',
3636
'host' => env('DB_HOST', '127.0.0.1'),
37+
'unix_socket' => env('DB_SOCKET'),
3738
'port' => env('DB_PORT', '3306'),
3839
'database' => env('DB_DATABASE', 'panel'),
3940
'username' => env('DB_USERNAME', 'pterodactyl'),

0 commit comments

Comments
 (0)