祝哥哥小站

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

套件中心安装phpMyadmin

[scode type="yellow"]安装后进入文件目录web_packages
找到synology_server_choice.json文件下载到桌面,用文本编辑器编辑[/scode]

[scode type="share"]直接编辑可能会显示权限不足[/scode]

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

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

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

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

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »