Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adjusting the command line client width

Status
Not open for further replies.

Slippenos

MIS
Apr 22, 2005
333
US
I am new to MySQL. I was wondering if there were a way to adjust the width of the MySQL command line client. I am able to adjust it vertically, but thats it.

Any thoughts? Thanks in advace.

[blue]Go to work to learn. Don't go to work to earn.[/blue]
 
Do you mean that the results are wrapping around the 80-column limit, making it hard to read? You could display the results in vertical format instead, by either using the -E or --vertical command-line option.
 
Good tip. Researching your tip I found that '\G' worked best. For anyone else who comes across this thread:
Code:
SELECT *
FROM vendors \G
This will display your results vertically as opposed to horizontally.

[blue]Go to work to learn. Don't go to work to earn.[/blue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top