How do I make CLI MySQL not display in this weird way?

How do I not make it look like this and instead look more readable, maybe with scrolling to the side?

![](" /> Sorry about the watermark, that was added for any of the pictures that get uploaded by users.

1 Reply

The real way to fix it is by using database normalization, but this is a lesson most effectively learned through bitter experience, and doesn't directly answer your question.

Using either the –vertical option to mysql or terminating the query with \G instead of ; (e.g. "select * from domains where blah is blah\G") will make it output vertically… this is probably a lot more usable, although it might not be exactly what you're after.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct