Last active
July 2, 2019 22:51
-
-
Save crafter999/e21803a09b8bf7d5d0f88ad7f249e61a to your computer and use it in GitHub Desktop.
Revisions
-
crafter999 revised this gist
Jul 2, 2019 . No changes.There are no files selected for viewing
-
crafter999 revised this gist
Jul 2, 2019 . No changes.There are no files selected for viewing
-
crafter999 revised this gist
Apr 20, 2019 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,6 @@ # Needed variables: host and username if [ -z "$1" ] || [ -z "$2" ] ; then echo "Usage: ./mysql-noTimeout.sh 127.0.0.1 myDatabaseUsername" else mysql -h "$1" -u "$2" -e ' SET wait_timeout=31536000; -
crafter999 created this gist
Jun 5, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #!/bin/bash # Needed variables: host and username if [ -z "$1" ] || [ -z "$2" ] ; then echo "Usage: ./mysql-noTimeout.sh 127.0.0.1 myDatabaseUsername" echo "Version 0.1 - Rationaline.com - 2018" else mysql -h "$1" -u "$2" -e ' SET wait_timeout=31536000; SET interactive_timeout=31536000; SET GLOBAL wait_timeout=31536000; SET GLOBAL interactive_timeout=31536000; show variables like "%timeout%"; ' -p fi