Skip to content

Commit 01cbbba

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 6992e1b commit 01cbbba

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
@@ -67,6 +67,8 @@ mysql_root "SELECT CURRENT_USER();"
6767
mysql_root "SELECT USER();"
6868
mysql_root "SELECT user,host FROM mysql.user"
6969
mysql_root "SET GLOBAL max_allowed_packet=1073741824"
70+
mysql_root "SHOW GLOBAL STATUS LIKE 'Connection_errors_%'"
71+
mysql_root "SHOW VARIABLES LIKE '%_timeout'"
7072
echo "unused:sqlserver:domjudge:domjudge:domjudge:3306" > /opt/domjudge/domserver/etc/dbpasswords.secret
7173
mysql_user "SELECT CURRENT_USER();"
7274
mysql_user "SELECT USER();"

0 commit comments

Comments
 (0)