博文

目前显示的是标签为“docker mysql”的博文

synologu 安装 mysql

图片
https://mariushosting.com/how-to-install-mysql-on-your-synology-nas/ Once you click on User-defined script, a new window will open. Follow the instructions below: General : In the Task field type in  Install MySQL . Uncheck the “Enabled” option. Select  root  User. Schedule : Select  Run on the following date  then select “ Do not repeat “. Task Settings : Check “ Send run details by email “, add your email then copy paste the code below in the Run command area. After that, click  OK . docker run -d --name=mysql \ -p 3306:3306 \ -p 33060:33060 \ -e PUID= 1026 \ -e PGID= 100 \ -e TZ= Europe/Bucharest \ -e MYSQL_ROOT_PASSWORD= mariushosting \ -v /volume1/docker/mysql:/var/lib/mysql \ --restart always \ mysql Note : Before you paste the code above in the Run command area below, change the value numbers for  PUID  and  PGID  with your own values. ( Follow my step by step guide on how to do this. ) Note : Before you paste the code abo...