Add support for authentication via Unix socket (#1206)
Co-authored-by: @tenten8401
This commit is contained in:
parent
1df3efdfb0
commit
b6d18b0a36
|
@ -7,6 +7,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||||
### Added
|
### Added
|
||||||
* Nodes can now be put into maintenance mode to deny access to servers temporarily.
|
* Nodes can now be put into maintenance mode to deny access to servers temporarily.
|
||||||
* Basic statistics about your panel are now available in the Admin CP.
|
* Basic statistics about your panel are now available in the Admin CP.
|
||||||
|
* 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.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* Hitting Ctrl+Z when editing a file on the web now works as expected.
|
* Hitting Ctrl+Z when editing a file on the web now works as expected.
|
||||||
|
|
|
@ -34,6 +34,7 @@ return [
|
||||||
'mysql' => [
|
'mysql' => [
|
||||||
'driver' => 'mysql',
|
'driver' => 'mysql',
|
||||||
'host' => env('DB_HOST', '127.0.0.1'),
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'unix_socket' => env('DB_SOCKET'),
|
||||||
'port' => env('DB_PORT', '3306'),
|
'port' => env('DB_PORT', '3306'),
|
||||||
'database' => env('DB_DATABASE', 'panel'),
|
'database' => env('DB_DATABASE', 'panel'),
|
||||||
'username' => env('DB_USERNAME', 'pterodactyl'),
|
'username' => env('DB_USERNAME', 'pterodactyl'),
|
||||||
|
|
Loading…
Reference in New Issue