Score:0

How can I fix the keyboard shortcuts in the MariaDB/MySQL shell?

cn flag

I upgraded from Debian 10 to 11, and from MariaDB 10.3 to 10.7, and keyboard shortcuts were broken, due to a switch from GNU readline to the editline library. I was used to using vi mode, but it is no longer supported, and standard emacs shortcuts also fail.

I haven't found any guides to rebuilding the mariadb client from source with the lost functionality restored, and I don't think it's worth trying to tackle on my own.

Any way to get back to a usable MariaDB/MySQL shell?

Score:0
cn flag

I found a command line interface in python that works great: https://www.mycli.net

It has an option to set the default key bindings to either vi or emacs, along with other great features, including syntax highlighting and auto-completion.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.