I am using the 5.2.15 OSS Beta version of MySQL Workbench. I have seen somewhere MySQL Workbench Detailed Model Reports (nice HTML version of the entire Model, gives details of the schema). I don't however see any link in the workbench that can generate such a report. Is there a plugin for this or is this feature no more available now?
Also, is there any way to generate the Inserts (that we see on the Inserts tab on the table details for our model) to be generated from a script file. It would be tedious to enter those manually.
Thanks for your time,
I discovered that the community edition doesn't have this feature, which means you will have to buy the premium version to get the feature.
Related
Hi I'm using CiviCRM for membership management. The database is not set up by me and it's old. I wonder where can I find out the database update frequency. I access the database via phpMyAdmin.
I had a look on the information schema but didn't see anything useful.
thanks!
if you mean code updates, which may impact db, civicrm.org/blog/tags/release
if you mean other minimum requirements (php and mysql) try here docs.civicrm.org/installation/en/latest/general/requirements
If you want to see the version of CiviCRM installed, you can see it in the column version of the table civicrm_domain :
SELECT version FROM civicrm_domain;
Since CiviCRM 5+, there is exactly one release every month. As we are at 5.50, it's quite easy to know how old is your CiviCRM. Also see here for the list of releases : https://civicrm.org/blog/tags/release
CiviCRM is not a standard module / plugins, it's more of it's own software that can be integrated with the CMS (Drupal / WordPress). There is no auto update so you need to do it manually using this procedure depending on the CMS :
https://docs.civicrm.org/sysadmin/en/latest/upgrade/drupal7/
https://docs.civicrm.org/sysadmin/en/latest/upgrade/drupal8/
https://docs.civicrm.org/sysadmin/en/latest/upgrade/wordpress/
https://docs.civicrm.org/sysadmin/en/latest/upgrade/joomla/
Lastly, if you have more questions on your CiviCRM, there is a specific StackExchange here : https://civicrm.stackexchange.com/
I have developed my ERD, which is great feature in MySQL Workbench, but what I am wondering is there a feature on the Mac version that will export a Database Dictionary? In a table or Excel format, which outlines all the tables the columns and the column table with any of the comments that have also been inputted?
Currently I am writing them out by hand - and would be great if there was a time saving way of doing this.
There is such a feature, called DbDoc, but it's only available in the commercial edition of MySQL Workbench available with a MySQL subscription.
I have an .sql script that contains inserts and creates tables. I used the "Create EER Model From Script"
It created the tables but I can't see the data inside these tables.
I went to the query menu and tried to make a query but it gives me an error about not being able to connect to localhost.
Am I doing it right?
As documented under Create EER Model from SQL Script:
Clicking this action item launches the Reverse Engineer SQL Script wizard. This is a multi-stage wizard that enables you to select the script you want to create your model from.
For further information, see Section 7.7.9.1, “Reverse Engineering Using a Create Script”.
Following that link:
However, if you are working with a script that also contains DML statements you need not remove them; they will be ignored.
Instead, you want the Manage Data Import/Export option under Server Administration (within the Workspace section of the Home window).
You are confusing things here. Creating a model from a script is a process where meta data is examined and a model is created that you can then use to modify your schema structure, further design your db objects and all that. Modeling is a design process for the structure of your schema/db so it only deals with meta data. It's also used for documentation (e.g. in teams).
On the other hand there's normal sql work with existing db objects and/or actually creating/deleting/modifying db objects. In order to do the latter you must have an understanding of the design of the schema (which you could get by using the modeling part of MySQL Workbench, but not only by that). This is also the place to load a script, run it to insert data and such.
The error you mentioned regarding the connection is yet another problem and you need to solve this first to be able to even access your server. And yes, you have to install a server first somewhere. MySQL Workbench is a tool to visually work with your server(s) in opposition to the MySQL command line client which is a pure text interface (but still also a client application for your MySQL servers).
If you are on Windows and want a MySQL server installed locally (e.g. for testing) your best option is to download the MySQL Installer which greatly simplifies installing any of the tools from the MySQL family (server, client tools, connectors, documentation and more).
I have this requirement to migrate a live SQL server 2008 to MySQL server 5, I have tried the MySQL migration toolkit but its throwing lots of migration errors. Someone here in Stackoverflow suggested that I use Talend. I installed Talend Open Studio for Data Integration but its quite a general purpose tool that there's no quickstart to do database migration like what I really needed.
Where can I find a quickstart guide to use Talend for such job?
Talend is quite generic data integration tool, but you should get the job done by following these steps (which actually apply to any database-types: PostgreSQL, Oracle, etc.):
Create a new database connection in Repository-panel, to the Metadata-"Db Connections"-node. Name it and select "DB Type" as "Microsoft SQL Server" (or whatever is your source database) and give the connection details.
Create another new database connection, but this time as "MySQL" (or whatever is your target database).
Create a new job to "Job designs" (in Repository).
Expand the "SQL Server"-DB-connection from the Metadata, and drag the desired table (under "Table schemas") to the work-area of the job AND select tMSSqlInput.
Drag the MySQL-DB-connection from the Metadata to the work-area AND select tMysqlOutput. Define the target table.
Click Palette and drag tMap component to the work-area between the two previous components.
Connect tMSSqlInput to tMap and tMap to tMysqlOutput with arrows. You do that by right-clicking the tMSSqlInput, selecting Row-Main and dragging the arrow to the tMap. Same from tMap to tMysqlOutput.
Double-click the tMap, select all columns from the left and drag them to the right. The tMap component allows you to make data transformations. It might be that you wouldn't even need to use the tMap between the database-components. But it is good to have just in case.
Run the job, and troubleshoot as necessary. If something goes wonky, restart Talend Studio or just close and open the job, in many occasions it helps.
The MySQL Migration Toolkit is deprecated long time ago. You should try the new Migration Wizard that comes with MySQl Workbench 5.2.41. It will help you to migrate both the tables and their data. You can have an overview of its capabilities here:
How-To: Guide to Database Migration from Microsoft SQL Server using MySQL Workbench
If you need to get started with Talend, I can suggest you check our documentation page http://www.talend.com/resources/documentation.php , where you will be able to find installation guides and user manuals.
Also, there's an interesting section on our website where you will be able to check out our tutorials, that should help out: http://www.talendforge.org/tutorials/menu.php
xybrek, unfortunately there's no tutorial that covers your specific case exactly.
Download the manuals that Bart linked to and start trying things out in Talend.
The components you'll be looking at are:
tMssqlInput - reads a table in a MsSQL db
tMySQLOutput - directs a flow of data, say the output of the mssqlinput component, into a mysql table
tMySQLRow - lets you execute a query on a mysql table/database
And possibly others. These are just some pointers to the more obvious components.
You can read more about those and see examples in the Reference Guide manual which covers all components in Talend.
Good luck!
Finding it a little bit tedious migrating to the new Mysql Workbench (5.2.22) even though it has many more features than the older GUI tools. Right now I'm confused why I can't find an SQL reference when I open the Doc Library. Is there a way to access this info within the workbench, I'd prefer not to have to open a browser to access reference info on the web.
If you just want to be able to access reference material without being connected to the internet you can download the MySQL Manual for offline viewing. It is available in a variety of formats such as HTML, PDF, CHM, Man pages and a couple more. http://dev.mysql.com/doc/