我有一个问题,MySQL没有启动我的QNAP NAS.
我首先发现这是因为无法通过phpMyAdmin登录 - 收到错误:
#2002 Cannot log in to the MySQL server
Run Code Online (Sandbox Code Playgroud)
然后我去尝试启动mysql,因为我猜这是一个常见问题,但它只是给出了一般错误.
我经历了mysql.sock文件和一切的故障排除,更改了它的权限,但没有任何工作.
我多次重启我的NAS.
我最终试图重启mysql.这样做我得到:
ERROR! MySQL manager or server PID file could not be found!
Run Code Online (Sandbox Code Playgroud)
我找不到任何特定的QNAP或任何一般类型的故障排除.我发现的一切似乎与OSX有关.
在我的表单标签上使用该类text-right,当进行响应时,我希望标签左对齐,因此它位于左上角而不是右上角,但是更改text-align:left似乎没有生效。
@media (max-width: 767px) {
.form-group > label.text-right {
text-align: left;
color: red;
}
}Run Code Online (Sandbox Code Playgroud)
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">Label</label>
<div class="col-sm-10">
<input type="text" class="form-control">
</div>
</div>Run Code Online (Sandbox Code Playgroud)