Show variables. Show password. unknown sql error. mysql --user="root" --password="password" --execute='show variables like "max_connections";'.