2016-11-06 12:36:07 +00:00
|
|
|
<?php require '../config.php'; ?>
|
2017-05-08 07:43:43 +00:00
|
|
|
<?php $MySQL = loadClass('Mysql'); ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2016-10-22 14:39:08 +00:00
|
|
|
<?php require '../include/head.php'; ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2016-11-15 18:39:11 +00:00
|
|
|
<?php require '../include/navbar.php'; ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
2016-10-16 08:49:53 +00:00
|
|
|
<h1>MySQL Info</h1>
|
2016-10-22 17:07:09 +00:00
|
|
|
<br/>
|
|
|
|
<br/>
|
2016-10-16 08:49:53 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2016-10-16 08:49:53 +00:00
|
|
|
|
2017-05-08 07:43:43 +00:00
|
|
|
<?php if (!\devilbox\Mysql::isAvailable($GLOBALS['MYSQL_HOST_NAME'])): ?>
|
|
|
|
<p>MySQL container is not running.</p>
|
|
|
|
<?php else: ?>
|
|
|
|
<p>For reference see here:</p>
|
|
|
|
<ul>
|
|
|
|
<li><a target="_blank" href="https://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html">https://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html</a></li>
|
|
|
|
<li><a target="_blank" href="https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html">https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html</a></li>
|
|
|
|
<li><a target="_blank" href="https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html">https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead class="thead-inverse">
|
2016-10-16 08:49:53 +00:00
|
|
|
<tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
<th>Variable</th>
|
|
|
|
<th>Value</th>
|
2016-10-16 08:49:53 +00:00
|
|
|
</tr>
|
2017-05-08 07:43:43 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach (loadClass('Mysql')->getConfig() as $key => $val): ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php echo $key;?></td>
|
|
|
|
<td class="break-word"><code><?php echo $val;?></code></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<?php endif; ?>
|
2016-10-16 08:49:53 +00:00
|
|
|
|
2016-10-09 16:47:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- /.container -->
|
|
|
|
|
2016-10-11 13:45:21 +00:00
|
|
|
<?php require '../include/footer.php'; ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
</body>
|
|
|
|
</html>
|