mysql -u user -p pass -h remotehost Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 96 Server version: 5.1.36-community-log MySQL Community Server (GPL) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
Suppose the remotehost's OS is linux,
how do I switch to shell mode?
I get access to database via shell prompt.
I meant to access shell prompt of remotehost,typing
exit will return to my own shell prompt.