2016-11-06 12:36:07 +00:00
|
|
|
<?php require '../config.php'; ?>
|
2017-09-09 08:40:07 +00:00
|
|
|
<?php loadClass('Helper')->authPage(); ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getHead(); ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getNavbar(); ?>
|
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-15 06:56:17 +00:00
|
|
|
<?php if (!loadClass('Mysql')->isAvailable()): ?>
|
2017-05-08 07:43:43 +00:00
|
|
|
<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 -->
|
|
|
|
|
2017-05-15 06:56:17 +00:00
|
|
|
<?php echo loadClass('Html')->getFooter(); ?>
|
2016-10-09 16:47:49 +00:00
|
|
|
</body>
|
|
|
|
</html>
|