MySQL Terminal Cheatsheet
To log in to MySQL server via terminal, use login credentials and hostname.
mysql -h localhost -u username -p
MySQL server will prompt for the password. The -h hostname flag is optional use only when the host is different from the default value local...
waqar.org2 min read