the difference between mysql server and mysql workbench - mysql

I've instaled MySQL workbench in Windows 7 64bit. Unfortunately, I'm facing problems:
In the Object Browser, when I click on my DB and right click on tables to create one, I can not insert any column (disabled) and therefore, can not insert tables. check this:
Can not create table in MySQL workbench 5.2.40
I can create table from the EER model. But even though, I faced problems when tried to connect my Java application to this database.
MySQL and Java: table doesn't exist
I have searched, and not sure from this, some of what I found is that workbench have probelms with Windows 7 - 64 bit (any idea if this is correct??). The only version I found was for 68, it installed successfully but I'm having probems.
I want to downlod MySQL server but before that: Will Mysql Server give me the same features that the workbench does? I need to work with GUI (insert, delete, update,..etc).
EDIT:
Also, the table I added using the EER are not visible in the Object browser. I only can see the schema in the Object browser without any table underneath it.

MySQL Workbench is a MySQL Server GUI. The two are different products. MySQL Workbench requires a MySQL Server connection for most tasks (except for data modeling). This reliance on a MySQL connection is clearer in the latest version of MySQL Workbench (6.1) than it was in 5.2.

MySql Workbench and MySql Server both are completely different things. MySql Server is basically a database and MySql workbench is a GUI or graphical management tool which helps us interact with MySql server database.
Similarly, SQL Server Management Studio is the graphical management tool for SQL Server.

Both are for manipulate the structure, queries and function, procedure, etc....
In Both you can Use DML and DDL
If you ask me I love Server even if you can create really cool designs on workbench, but basically you can do the same in both (insert, delete, update,..etc and more)
So it's up to you, I think MySQL server is a little bit lighter that Workbench, but if you want to, try it both.
Workbench looks like more friendly

Related

How can i run MySQL and MariaDB database server at the same time and access them at phpmyadmin?

First i want to have two different database servers on Windows 10
A MySQL database server and a MariaDB database server
Second; I want to be able to access them at Phpmyadmin (On Phpmyadmin login screen, I am expecting to see 'Servers' dropdown list to pick either MySQL Server or MariaDB server)
How can I achieve this on Windows 10 ?
1. It's posible, for run mysql and mariadb, u need config one instance more, because mysql and mariadb have similar core. (Is same to install two mysql server instance in one machine). Here one tutorial for install instances of mysql on windows. Multiple MySQL Instances on Windows
2. phpmyadmin requires a web server, PHP, and a browser. But... i think that isn't possible, because this is connect simultaneously to two database server via only one connection of phpmyadmin in your browser, and i think isn't logic support. I think that u can try is install two phpmyadmin. One for mysql and other for mariadb. Check docs in the web site, maybe u can obtain other solution. Phpmyadmin
Regards ✌🏼️

Linked server in MySQL Workbench

I am working with MySQL Workbench and I want to query 2 servers at the same time. I searched and find out that the best way to proceed is to create a linked server.
I am wondering is it possible to create this only using workbench or MySQL server in general ?
There's nothing in MySQL Workbench that lets you send a query to more than one server at a time.

Can I use MySQL Workbench to create MariaDB?

I am totally new to databases. I would like to create a database; I am going to make a small project which is going to use DB. I am going to use Maria DB as it is totally free for commercial use.
The question is: Can I use MySQL workbench program to create a database and then transform/change it to MariaDB?
From my experience -- Sure, you can use MySQL Workbench with MariaDB.
However, I have tried basic functionalities only, like queries, schema design etc. Not sure about compatibility of advanced features.
So my experiences are, yes you can use MySQL Workbench for MariaDB database designs.
However I needed to change the "Default Target MySQL Version" to 5.7.
This can be done by going to: Edit->Preferences in the menu. And finally to Modeling->MySQL.
Since the latest MySQL version, v8.x, the SQL statements are not compatible with MariaDB statements (like creating an index). MariabDB creating an index on a table:
INDEX `fk_rsg_sub_level_rsg_top_level1_idx` (`rgs_top_level_id` ASC)
vs
MySQL:
INDEX `fk_rsg_sub_level_rsg_top_level1_idx` (`rgs_top_level_id` ASC) VISIBLE
MariaDB can't handle this VISIBLE keyword in this example. Using an old MySQL Version, MySQL Workbench will forward engineer a compatible MariaDB SQL file.
Currently (Oct 2019) the generated SQL_MODE output is still compatible with MariaDB. Just like InnoDB, which is also preferred when using MariaDB in most cases.
Just to list a few other options:
MySQL Workbench
Heidi Sql
SQLyog
No.
The latest version of Workbench 8.0 is not supported in MySQL.
Yes, although connecting to view existing database on a remote MariaDB server will crash the current client (6.3.10). I use it mainly to deploy database models and that works fine, even on remote servers.
I just deployed to a MariaDB 10.3 server with that client and it worked fine, see screenshot.

How can I view my MySQL database created by Entityframework 6

I use Entity framework 6 and MySQL 5.5
When I use code first to create the my sql database, the database is created successfully, but when I open mysql workbench, I can't find it in MySQL workbench.
I have used EF 5.0 code before to create a database and the database can be found in MySQL workbench.
has anyone met this issue before?
I'll bet an arm and a leg you haven't configured EF correctly an it is using it's default database instead of mysql, look here or here
The easiest way to verify that is to shut down your MySQL server and test if your can still query your database with EF or not.

MySQL Import Database, No Inserts

I'm using MySql Workbench and WAMP Server. I have a database on the server and when I click reverse engineering on the workbench it imports the db structure, but not any of the inserts. What do I do to get the db data as well as the structure into the workbench.
Also on a separate point as I was using workbench, i noticed it did not automatically sync with the db on the server, ie. when i insert a new row, it did not reflect in the server.. must I forward engineer the db to the server every time i make a change? So sorry for my lack of understanding
MySql Workbench reverse engineering is only to obtain the Schema of the database.
If you want to search the database, make backups, obtain the schema and much more then you can use phpMyAdmin. There are some installers which configures the whole system to work with WAMP enviromment and includes it, like Xampp or ZendServer;