Skip to content

Commit 5d49dfe

Browse files
committed
Add extra debugging about MySQL
This is useful for when the tests suddenly break because the upstream images have changed.
1 parent 3e8cc1e commit 5d49dfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/jobs/baseinstall.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ mysql_root "SELECT CURRENT_USER();"
6565
mysql_root "SELECT USER();"
6666
mysql_root "SELECT user,host FROM mysql.user"
6767
mysql_root "SET GLOBAL max_allowed_packet=1073741824"
68+
mysql_root "SHOW GLOBAL STATUS LIKE 'Connection_errors_%'"
69+
mysql_root "SHOW VARIABLES LIKE '%_timeout'"
6870
echo "unused:sqlserver:domjudge:domjudge:domjudge:3306" > /opt/domjudge/domserver/etc/dbpasswords.secret
6971
mysql_user "SELECT CURRENT_USER();"
7072
mysql_user "SELECT USER();"

0 commit comments

Comments
 (0)