如果我已经获得了数据库访问权限,如何切换到 shell 访问权限?

apa*_*che 1 mysql linux

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> 
Run Code Online (Sandbox Code Playgroud)

假设远程主机的操作系统是 linux,

如何切换到shell模式?

更新

我可以通过 shell 提示访问数据库。

我的意思是访问remotehost 的shell 提示符,键入exit将返回到我自己的 shell 提示符。

Dav*_*d M 5

拥有数据库访问权限并不意味着您拥有 shell 访问权限。我在工作中有一个数据库,许多同事可以使用某些用户/密码组合访问该数据库。但是,他们都没有 shell 登录名,因为他们不需要它。