MySQL Workbench not showing table properly - mysql

So when I downloaded the MySQL and used workbench, it shows like this so I could not edit the data type here, which is different from others. I have tried reinstalled MySQL and workbench yet the problem remains.
Can someone point out what's going wrong? Thank you so much!

This is a regression introduced when the details pane had been made visible in modeling too (it is always visible in the SQL IDE). With the next update the default height for the table editor will be increased so that you can see the columns table immediately. Of course you can always resize the editor (there is a splitter right above the editor, which you can drag for resizing).

Related

PHPMyAdmin SQL query field only allows uppercase letters to be entered

I've only been using MySQL for a short time. When on the "SQL" tab, using the text input for queries is only allowing me to type in uppercase letters.
I can't think why this has happened as only yesterday it was working fine.
I've attached an image to show you what I mean.
A few things to note:
My caps lock is OFF
If I run a query like the one shown in the image it does in fact create the database with a lowercase name.
Similarly, If I was to press shift to create a capital - it does that fine too
I'm working off my MAMP localhost version 4.0.2
The issue is that I can't see my upper/lowercase characters while writing the query itself which means I may find it harder to accurately target certain elements of the database.
Does anyone know why this might be happening? Is it as simple as changing a setting?
I have never seen anything like this, but I know the .ini file has a setting lower_case_table_names to set table names to lower case. I do not know MAMP but certainly check the .ini file. Also if you have not been using MySQL that long maybe change to EasyPHP (Apache, PHP and phpMyAdmin - works great for me.

PhpMyAdmin SQL Query Code Reverting Back To Old Code

I'm trying to change the SQL query under the SQL tab in PhpMyAdmin but the old code keeps coming back every time I navigate off that page (and thus, giving me an error message again). How can I stop it from reverting back to it's old erroneous code? I have the new code at the ready. Is there some sort of setting I need to tweak?
Actually, I don't really need any code here at all, unless it's required. I'm new to PhpMyAdmin and just want to set it up so that I can follow along with a video tutorial.
When I try to click on the Databases tab
The old code in the SQL tab. Keeps coming back...
Note: The code was changed to that shown below that works. But it "reverts" back somehow. Good code:
It appears to be a version incompatibility. Your screenshot shows you using MySQL version 5.7 with phpMyAdmin 4.2; this is not supported and guaranteed to not work properly. For use with MySQL 5.7, you should use the latest phpMyAdmin (which is currently the 4.6 branch; 4.6.4 was released on 2016-08-16).
For more information about version compatibility, see the "Requirements" section of the documentation included with each download, or the information listed with each version at https://www.phpmyadmin.net/downloads/

MySQL Workbench 6.3 Can't Create Columns

As the question says, I'm simply not able to create or edit columns in MySQL Workbench. I've tried reinstalling, even installing the 32bit version instead of the 64. I have Googled it but it seems like I'm the only one with this problem.
I can create tables with the templates but I need to be able to work with them and then edit them.
In the picture, you can see that the table has a Primary Key and the "Column Name" box is grey and unclickable.
OK, this has been open long enough. I wasn't able to fix the problem however I did find a workaround. If anyone has a similar problem the way I fixed this was by downloading an older version of Workbench. I downloaded version 5.2 and it worked perfectly. Here is the link:
https://downloads.mysql.com/archives/workbench/
This might come a bit late, but I just had the same problem on build 6.3.5 and found this post.
I also found the real reason and another workaround on MySQL website, so I thought I would share :
On Windows 10, and with resolutions of 1366x768 and below, the default
table editor window did not show the table columns.
As a workaround, the output pane could be resized or hidden.
This was fixed in build 6.3.6

MySQL workbench does not display the tables

I installed mysql workbench in Windows7 32 bit machine. I imported a dump tables from another machine, the import process completes successfully as mysql shows. But, I can not see the tables, even after refresh all. Not only the tables that I import, even the tables in the test database (that comes by default) or any previously created tables in another database. Simply, it just shows the database name without the plus sign that display the tables. I removed mysql, installed it again, but no hope. I installed the requirements for mysql. What can be the reasons for such problem ?
If you're on mac, your object info and session section is covering the tables view. Just go ahead and drag that down and you should see the tables
I had the same thing happen. I just closed the program, re-opened it, and all the tables I imported were viewable.
Had the same issue, table not showing up under Tables in the navigation sidebar in MySQL Workbench 6.0 even after exiting and relaunching MySQL Workbench. The solution was to right-click on Tables and Refresh All.
I think it is a bug in MySql Workbench.
If you cannot see any updated changes in tables or schemas, then simply close the workbench and reopen it.
If this does not work however, then check your connection and server status.
I assume there is an icon (eye) next to your schema name, if you click on it it will open a window with all hidden tables. Click on show to solve the problem
show hidden table in mysql
Although the question is 8 years old at the time of writing this, I faced the same issue and thought I'd share my solution, which turned out to be rather basic: there's a refresh button to the right of 'Schemas'. If you click this, the newly created tables come into view. You don't have to close and reopen Mysql in such a case.
I had faced the same issue, Decrease the window size of workbench, table will be visible.

Offline MySQL Table Definition Generator

I'm looking for something similar to the table creation form from phpmyadmin, but it should simply display a CREATE TABLE statement in a textarea below the form.
It should also not require MySQL, PHP, or even a server to work.
I want this for times I'm working on projects and just want to whip up a quick table definition. I'll more than likely always have a text editor open, so being able to save to file isn't a must-have.
I'm on Ubuntu and use Gnome. A tiny GTK application I could stick in my Applications menu would be ideal.
It's not that hard to get familiar enough with the syntax that knocking out a table definition in a text editor becomes second nature.
However, check out DBDesigner4, which is a GPL application which might be useful to you.
Use the MySQL Workbench: http://dev.mysql.com/downloads/workbench/5.0.html
Download and install it.
To see the screen you want, you have to open a connection first under "Open Connection to Start Querying".
Enter your root password (or other, if your connection is for another user).
Then your SQL Editor should immediately open.
From the left column, under 'schemas', open your database,
then right-click on 'Tables'.
Select 'Create Table.'