群晖Docker安装Mysql后使用套件phpMyAdmin进行管理

套件中心安装phpMyadmin

20231201125550804-image

 

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

 

20231201125615642-image

 

20231201125629339-image

 

直接编辑可能会显示权限不足

[{"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}

20231201125722507-image

 

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

© 版权声明
THE END
喜欢就支持一下吧
点赞8赞赏 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情

    暂无评论内容