File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -576,6 +576,10 @@ jobs:
576576 # unfortunately we need this hacky workaround as GitHub Actions service containers can't reference data from our repo.
577577 - name : Prepare mysql
578578 run : |
579+ # we need to ensure that the socket path is readable from haproxy and
580+ # writable for the user running the DB process
581+ sudo chmod 0777 /tmp/run-${{ join(matrix.db, '-') }}
582+
579583 # inject HAproxy configuration
580584 docker container stop haproxy
581585
@@ -597,9 +601,6 @@ jobs:
597601 docker container cp "${{ github.workspace }}/tests/ssl_resources/tls.cnf" mysqld:/etc/mysql/conf.d/aiomysql-tls.cnf
598602
599603 # use custom socket path
600- # we need to ensure that the socket path is writable for the user running the DB process in the container
601- sudo chmod 0777 /tmp/run-${{ join(matrix.db, '-') }}
602-
603604 docker container cp "${{ github.workspace }}/tests/ssl_resources/socket.cnf" mysqld:/etc/mysql/conf.d/aiomysql-socket.cnf
604605
605606 docker container start mysqld
Original file line number Diff line number Diff line change 2020defaults
2121 mode tcp
2222 log global
23+ option tcplog
2324 timeout connect 10s
2425 timeout client 1m
2526 timeout server 1m
You can’t perform that action at this time.
0 commit comments