套件中心安装phpMyadmin

安装后进入文件目录web_packages
找到synology_server_choice.json文件下载到桌面,用文本编辑器编辑

[{"verbose":"MariaDB 10","auth_type":"cookie","host":"localhost","connect_type":"socket","socket":"/run/mysqld/mysqld10.sock","compress":false,"AllowNoPassword":false},{"verbose":"MySql","auth_type":"cookie","host":"0.0.0.0","port":"33065","connect_type":"tcp","compress":false,"AllowNoPassword":false}]

把上面的设置参数复制涵盖,修改你自己docker部署的端口,核对下你的MariaDB的"socket":"/run/mysqld/mysqld10.sock是否一样,不一样的话在MariaDB } 后面添加下面的即可

,{"verbose":"MySql","auth_type":"cookie","host":"0.0.0.0","port":"33065","connect_type":"tcp","compress":false,"AllowNoPassword":false}

打开phpmyadmin选择MySql,输入账号和密码即可登录

最后修改:2023 年 01 月 23 日
如果觉得我的文章对你有用,别忘了点赞或赞赏,让我知道路上有你陪伴。