ssh mysql read code example Example: mysql select from outside mysql -h host -u root -proot -e "show databases;";