Created
August 18, 2021 07:20
-
-
Save 2357gi/3a940bd050324d0fc756a91855cc8c4c to your computer and use it in GitHub Desktop.
This file contains 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 characters
USER=___ | |
PW=____ | |
# http interfaceは8123 | |
HOST=xxx:8123 | |
DB=xxx | |
QUERY='SHOW TABLES' | |
echo ${QUERY} | curl "http://${USER}:${PW}@${HOST}/?database=${DB}" -d @- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment