Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save freddielunchbird/6108bebd96cb896b870811bf0e182a97 to your computer and use it in GitHub Desktop.
Save freddielunchbird/6108bebd96cb896b870811bf0e182a97 to your computer and use it in GitHub Desktop.
proxysql
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id"
mysql: [Warning] Using a password on the command line interface can be insecure.
+-------------+
| @@server_id |
+-------------+
| 4 |
+-------------+
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id"
mysql: [Warning] Using a password on the command line interface can be insecure.
+-------------+
| @@server_id |
+-------------+
| 1 |
+-------------+
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id" 2>/dev/null
+-------------+
| @@server_id |
+-------------+
| 3 |
+-------------+
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id" 2>/dev/null
+-------------+
| @@server_id |
+-------------+
| 2 |
+-------------+
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id" 2>/dev/null
+-------------+
| @@server_id |
+-------------+
| 2 |
+-------------+
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id" 2>/dev/null
+-------------+
| @@server_id |
+-------------+
| 3 |
+-------------+
johan@johan-HP-Z620-Workstation:~/Documents/clustercontrol-enterprise-master$ mysql -uproxytest -pproxytest -h10.10.10.14 -P6033 -e "select @@server_id" 2>/dev/null
+-------------+
| @@server_id |
+-------------+
| 1 |
+-------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment