我在尝试将MySQL与Emacs结合使用时遇到了问题.首先,让我给出相关的版本信息:
Local OS: Windows XP, SP3
Terminal emulator/SSH client: Putty 0.58
Remote OS (as reported by uname -a): Linux 2.6.19.7 (also happens on another installation whose Linux is 2.6.18)
Emacs version (running on remote OS): 21.3.1 (also happens on another installation whose Emacs is 21.4.1)
MySQL version (running on remote OS): 4.1.22 (also happens on another installation whose MySQL is 5.0.91)
Run Code Online (Sandbox Code Playgroud)
我总是在Emacs中运行一个shell缓冲区,我想运行命令'mysql',这样我就可以运行SQL查询了.但如果我输入
mysql -uuserid -ppassword
Run Code Online (Sandbox Code Playgroud)
它只是挂起.当我杀死mysql进程时,它会报告:
bash: [XXXXX: 2] tcsetattr: Invalid argument
(where XXXXX is the process id of the …Run Code Online (Sandbox Code Playgroud)