🇨🇳 国内服务器请执行
git clone https://gitee.com/ChinaMoli/Adminer.git --depth=1 .🌎 国外服务器请执行
git clone https://github.com/ChinaMoli/Adminer.git --depth=1 .server
{
// ....
# 将运行目录指向 public
root pwd/public;
// ...
}Caution
为了数据库安全,此步骤不能被跳过,否则将无法访问。
打开 public 目录,重命名 index.php 文件(建议使用 1Password 生成的随机密码作为文件名)。
打开浏览器输入 http:// + 网站域名或 IP:端口 + / + 新的文件名 即可访问。
链接示例:
https://127.0.0.1:8080/ucUPKUH05fFdZPb7dgas.php
git pull- Adminer - Adminer is a full-featured database management tool written in PHP.
- readable-dates - Replaces UNIX timestamps with human-readable dates in your local format.
MIT License