Pregunta

Hi I'm learning MySQL using MySQL Workbench Command Line Client v 5.6 in Windows 7.

I type my commands into a text editor, then from the text edtor I copy them onto the clipboard. To paste them into the Command Line Client (CLC) I must right click with the mouse and go to "paste" in the context menu.

I would like to forgo the mouse entirely. But in the CLC, none of the Windows keyboard shortcuts seem to work. CTRL+V for example produces "^v" while SHIFT+INSERT does nothing.

Is there a keyboard shortcut for "paste"?

¿Fue útil?

Solución

Although this question is clearly not a programming question this a way you can do this.

First you start by selecting the window with the command line. This can be done by alt + tab. Then when the command line windows is active you can paste the content of your clipboard with: alt + space Then go trough the menu with e and then p. The letters will dependent on the language from your windows OS.

Otros consejos

If you are using Win 10, you can turn on Ctrl + C and Ctrl + V shortcuts to work in the command prompt:

Windows 10 Copy/Paste in Cmd

If anyone else was trying to paste the password directly into the MySQL "Enter password" prompt, use ctrl+shift+v instead of ctrl+v

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top