Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL Workbench - see all the contents of a MEDIUMTEXT column? [closed]

Tags:

mysql

This is an admittedly easy question, I just dont have the background in MySQL to know this and a google search has been fruitless. I have a MySQL table with a couple of mediumtext columns. When I run a SELECT query, with MySQL Workbench, it only shows me a truncated version of the contents. How can I see the entire contents of a mediumtext column within workbench? I'm sure its just a config setting I'm missing.

like image 284
Unknown Coder Avatar asked May 28 '13 22:05

Unknown Coder


People also ask

How do I view the contents of a MySQL Workbench database?

To view the database created on MySQL Workbench, navigate to Database > Connect to Database . Choose an existing connection to connect to MySQL Server or create a new one. The database created will be as shown in the screenshot below.

How do I display the entire content of a table in MySQL?

The first command you will need to use is the SELECT FROM MySQL statement that has the following syntax: SELECT * FROM table_name; This is a basic MySQL query which will tell the script to select all the records from the table_name table.

How do I view data in a workbench table?

To open, right-click a table in the object browser of the Navigator pane and choose Table Inspector from the context menu. The Table Inspector shows information related to the table.

What is Tinytext in MySQL?

TINYTEXT can store up to 255 characters i.e 255 bytes. It is suitable for storing summaries of articles, short notices, captions, etc. It takes 1-Byte overhead. MEDIUMTEXT. MEDIUMTEXT can store up to 16,777,215 characters i.e 16,777,215 bytes or 64MB of data.


1 Answers

  • SQL Query Preference -> Max. Field Value Length to Display. Default 256 bytes;
  • Right click on a cell with MEDIUMTEXT in the result pane and choose Open value in editor;
  • Query menu -> Execute (All or selection) to text;
like image 141
peterm Avatar answered Oct 29 '22 13:10

peterm