mysql -u <user> -p mysql [db_name] mysql -h <host> -P <port> -u <user> -p [db_name] mysql -h <host> -u <user> -p [db_name]