Add Max Concurrent Connections for database users
Closes #1849 Allows database users to be limited to a number of concurrent connections to prevent one user from connecting hundreds of time and bottlenecking the MySQL server.
This commit is contained in:
parent
2c3a9228ec
commit
f0e4764a11
10 changed files with 56 additions and 6 deletions
|
@ -99,6 +99,7 @@
|
|||
<th>Database Name</th>
|
||||
<th>Username</th>
|
||||
<th>Connections From</th>
|
||||
<th>Max Connections</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@foreach($databases as $database)
|
||||
|
@ -107,6 +108,7 @@
|
|||
<td class="middle">{{ $database->database }}</td>
|
||||
<td class="middle">{{ $database->username }}</td>
|
||||
<td class="middle">{{ $database->remote }}</td>
|
||||
<td class="middle">{{ $database->max_connections }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('admin.servers.view.database', $database->getRelation('server')->id) }}">
|
||||
<button class="btn btn-xs btn-primary">Manage</button>
|
||||
|
|
Reference in a new issue