I have a server with Rackspace. I want to access the database from my local machine command line.
I tried like:
mysql -u username -h my.application.com
Try this, Its working:
mysql -h {hostname} -u{username} -p{password} -N -e "{query to execute}"