When I right click and select "Entities from DB" it correctly connects to my MySQL Database, and it succesfully performs the introspection, so that I can see the list of tables from the IntelliJ side view. But within the popup I get 0 tables, 0 views but all relations
It looks like this:
IntelliJ Screenshot
Do you have any suggestions?
I already tried the steps from here
I had the same problem and it went away after recreating the database connection.
Related
I'm working for the first time on a multitenacy application with multidatabase for each tenant made with laravel using the Tenancy for Laravel Saas - Boilerplate .
Being the first time for me working on such kind of application, I've read the whole well done documentation that they have but unfortunately I'm still really confused about one thing.
I use TablePlus to check my db records but on table plus, I can only see the Central DB not the tenant's database.
My question is, how can i check all the databases created for each tenant?
The above package is generating for each tenant a db named tenantid************************, how can i see what I'm writing into this db??
Hope somebody can help me to clear this doubt.
Thank you very much.
For multiple databases in table plus, you can open other databases for the current connection. In the UI top bar there is button left to the "sql" button. Alt. go to Connection/Open a database (Shortcut on mac "command + K")
I tried in MySQL Workbench to forward engineer a model, and when I did something went wrong with one of my schemas. The schema in the picture has a refresh icon on it, and the tables show it is refreshing but not actually pulling up the tables.
The tables are there and I am able to pull the data, but not sure how to undo this so I can see the tables in the tables tab.
Any idea?
Let me see if I got your actual problem. You triggered a refresh of your schema list and that never finishes. Is that correct? If so then you probably hit a bug. Are you using the latest MySQL Workbench version? Try restarting the application, which should workaround this temporary hickup.
Ok, I've working with my database, and I've got 2 tables and I'm trying to create a foreign link between the two. Apparently this means I need a button called Relation View that is only visible after you set both tables to InnoDB under Operations, which I have done. But Relation View failed to show up, either at the top under the "Structure" tab, or at the bottom next to the "Print" icon where it's supposed to be. So I went here (http://www.w3expert.com/2008/03/how-to-enable-view-feature-in.html) and followed the directions to install the phpmyadmin database, which should have enabled the Relation View, but it didn't. So I'm lost. Am i missing something? Is there another way to get this to work?
To be clear, I'm working through phpMyAdmin through my MAMP server.
Edit - I've also followed the instructions on this website (http://newvibes.com/blog/enabling-relation-view-in-phpmyadmin-mamp/) and edited the server configurations in the mentioned file.
So to recap -
I've created the phpmyadmin database as per the instructions in the 1st link. Then I changed the configurations of the file mention in the 2nd link. Then I closed my phpMyAdmin and restarted my MAMP server. Reopened everything, and I still can't access my Relation View.
2nd Edit - I've been messing with phpMyAdmin, and I've noticed that "Relation View" actually pops up under the database that I imported. But it doesn't show up under any of the other databases. Am I supposed to create my databases in/under the database I imported? If so, how do I do that . . .?
Are you using MyISAM storage engine? phpMyAdmin only shows relational view with InnoDB.
Click on a table, go to Operations at the top and change Storage Engine to InnoDB. I think you can only do this one table at a time
InnoDSB has a lot of overheads for larger databases (so I understand) but should be fine for small/medium stuff.
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.
I have 2 different server running django in it. (using postgre)
Both has the same user table.
I wanted to synchronize the user table, as if I update or delete user in one server then the 2 db should also get updated.
I guess replication is not a solution for my case.
Can anyone point me in right directions. or any link or reference will be helpful.
Both server are running different django code.
Thanks,
I don't know how to do this in PostgreSQL, but in MySQL you could create database VIEW pointing to a table in another database. This way you could reuse the existing auth_user table in the other sever.
I would take a look at pgpool-II. I haven't used it myself, but it's been recommended to me for similar purposes and after a bit of research I came to the conclusion that it's one of the better projects out there.