Answers for "bash mysql query count get only number"

1

bash mysql query count get only number

mysql -h {host} -u {user} -p{password}  -e "SELECT COUNT(DISTINCT table_name) FROM information_schema.columns WHERE table_schema = '{dbname}'" | grep -iv "count"
Posted by: Guest on September-30-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language