MYSQL Workbench - how to change workbench display? - mysql-workbench

i want to read my tables data but this how my workbench displays them how to fix it?

Related

Mysql workbench results grid has extra panel with hast symbol next to it, how can I remove it?

I'm using mysql workbench on Ubuntu, and I seem to have hit a wrong key somewhere along the way, now I have an extra panel on my results grid blocking up my small screen.
Does anybody know how to hide this panel??

Navicat does not show tables in Postgres

I inserted table it show it success but when i find in table it doesn't show, it's happen to other table to but somehow some of the table can be selected but not show in table menu
any setting should i change to show the table name in table?
This is a common issue with navicat. It is unlikely to be a postgres issue.
I suggest the following:
Check that you haven't typed anything in the left pane. Often you go into search mode. Look at the bottom left and see if you see search text there. Remove it.
You might need to reconnect to the database, or even restart navicat. Right click the database then click "Close Database", then reopen.
You can try to upgrade navicat.

"Refresh Recordset" command gives error "There are pending changes. Please commit or rollback first."

Using MySQL Workbench v8.0, in the query part of the window, I entered many new lines of data (using the INSERT command) into my table.
However, the new data did not appear in the visual view of the table in MySQL Workbench.
I hit the "refresh" button on the result grid that shows the contents of the table, but I got the error message under "Action Output" that said the "Refresh Recordset" had failed because "There are pending changes. Please commit or rollback first."
When I have a command-line view of my table concurrently running (at the same time as MySQL Workbench), it shows that my database has indeed made the data updates that were made with the previous INSERT commands using the Workbench GUI. (So, the log shown under the "Action Output" part of the Workbench GUI appears to be correct, which says that MySQL ran the INSERT commands.)
So, the update to my table has been made using the GUI MySQL Workbench, but I can't refresh the view of the table contents in MySQL Workbench. Why is that?
I found that I had also been in the middle of an edit to my table using the MySQL Workbench GUI visual view of the table. It wouldn't allow me to update the visual view of the table until I had selected "Apply" or "Revert" to the edits I was making.
Once I selected "Apply" to the result grid, the table finally refreshed the view of its contents!

How to hide/view result grid in MySQL Workbench?

I'm using MySQL Workbench on Windows. I execute a query and I get the result. Is there any option or a hotkey to hide/view the result grid without executing the query again and again?
Please help me on this.
Here is a simple technique to get back the results grid in MySql WorkBench.
Place the text cursor on a query and use the "EXPLAIN command" for the statement under the cursor.
That will open the Visual Explain window. In that window you can find Results Grid. Click on that Results Grid.
You can see the result grid again.
There's a bug in current latest (8.0.11) MySQL Workbench when for some reason it's no longer showing Results Grid when you execute your statements. The only reasonable way to fix this that I found was to close the app completely and reopen it.
You can close result tab this way
I think there is a bug in latest (8.0.11) MySQL Workbench regarding result grid view. Since the installation I was not able to see Result Grid window for any query but I have some how able to get result grid window by changing Resultset Grid font from Tomaha (default with installation) to Consolas 10 and then executing one query.
Hope this might help others facing same issue on 8.0.11 version till the permanent fix.
Updating MySQL workbench worked for me. I'm on MacOSX
This isn't the best solution, but it is a work-around:
I have MySQL Workbench version 8.0.18 and when I run a query my result grid disappears too. However, I noticed that you can have another tab open (within MySQL Workbench) where the result grid for the same table remains open, and then you can toggle between the two tabs (the query tab and the result grid tab) by using CTRL + TAB and CTRL + SHIFT + TAB.
(Other tab toggle options are here: How to manage the SQL tabs in MySQL Workbench?)
However, the caveat is that you have to keep refreshing the table's contents in the tab that has the result grid.
(In order to open a new tab you can use CTRL + T, and then click the database and table you wish to view.)
I had the same problem with MySQL Workbench 8.0.19 (Win) and could not get the Result Grid to show whatever I did. I changed the font like some of the other examples but that didn't work. I clicked the EXPLAIN button to see the Execution Plan and that didn't work either. The Result Grid kept going away.
I finally clicked the EXPLAIN button to show the Execution Plan, clicked on the Result Grid icon above that on the right, and then shut down MySQL Workbench hoping it would save the current view settings in a config file or in the registry. That seemed to work. When I opened MySQL Workbench again, the Result Grid appears and I am back to normal.
UPDATE:
I wrote too soon as that didn't have permanence. I did a little more research and found this article in the developer site of MySQL documentation.
https://dev.mysql.com/doc/workbench/en/wb-configuring-files.html
So, I decided to shut down MySQL Workbench, rename the 'wb_state.xml' file to 'wb_state-backup.xml' as found in the following path on Windows.
C:\Users{username}\AppData\Roaming\MySQL\Workbench
I then started MySQL Workbench and saw that the 'wb_state.xml' file was created on startup. I then ran a quick SELECT statement to see if I would see the Result Grid and it showed up.
I hope this works for some of you as well!

MySQL Workbench - how to display relationships?

How do I make Workbench display the connecting lines between tables when I define relationships?
I had an issue generated a PNG with the relationship lines.
Environment
WorkBench version 8.0
MacOS Mojave 10.14.5 with Dark Theme
Solution:
Disable dark theme and regenerate the diagram then export the PNG.
You need to open reverse engineer: Database->Reverse engineer CTRL+R
Complete the wizard. It ask about the database to connect and other simple questions.
Just click Next.
After wizard completion the MySQL Model tab will be opened. Click there ERR Diagram icon
When you edit a table in an EER model, you will have a tab named Foreign Keys that allows you to define well... the foreign keys. These foreign keys will be visible in the diagram.
You can change the settings for the displayed relationship by double clicking on the line that connects the tables.
You need to check draw line box.
MySQL Workbench has three options for relationship visibility settings:
Fully Visible
Draw Split
Hide
It sounds like you need to switch from Draw Split to Fully Visible. Double click on the endpoint, such as the crows feet. On the Relationship tab of the edit window you will is the Visibility settings.