Working on workbench - mysql

This may be a very basic question. Is working on workbench and using the sql query offline mode, the black one(sorry for the language but just a newbie) same or are they different?
Also is working on workbench easy or require some prior knowledge? I tried to download the normal sql parts but they were just giving problems so decided to install just the workbench and do my work on that. Is it one and the same? Will i get some problems later on if i use just the workbench?
Please help. Thank you.

You can using the workbench for executing the scripts. This will work same as the sql server. you can refer the basic sql scripts throught this site.
Basic Scripts

Related

MySQL WorkBench 8.0 Keeps Crashing MacOS Ventura 13.1

I am taking a data analytics and management course for my graduate program. We started doing simple lines of code today like create a table, select, and use functions. However, every-time I go to execute the select * from it crashes the program.
I have restarted my computer multiple times. Nothing seems to work.
I had the exact same problem and played around with the version of my SQL workbench. Assuming you're using SQL Workbench 8.0.32, try using SQL Workbench 8.0.31 which is what solved the issue for me.
I was having the same issue, and also installed the 8.0.31, and it's now working. Thanks!

SQL Developer: what is the reason I cannot debug or execute SP in mysql with SQL Developer?

I am querying my Mysql database with Oracle SQL Developer. The program is working perfectly when I installed mysql connector but I can not execute or debug procedures with the ide. My version is 19.1.2.247 (internal id 247.2212)
Execute menu is deactivated:
What do I need to debug with SQL Developer? Is it even possible?
MySQL support is provided only to help you migrate that data to Oracle.
IDE features are reserved for Oracle/PLSQL only.
MySQL Workbench is the official ide for MySQL.
I am agree with #thatjeffsmith, that feature is a problem SQL Seveloper debug only works with Oracle. For this reason I think it is part of the solution. He told me to use Workbench but I am new there and I didn't see debug menu for stored procedure...
I discovered in .Net VS2017 the capacity to debug stored procedures in mysql using Server Explorer.
I had problems to open the stored procedure. I couldn't open the stored procedure. But after investigating, I could resolve it unchecking save my password in the connection. Once having done that I could debug the stored procedure. Totally free with VS2017 Community.
I think it is the part I was looking for to resolve my problem.
I tested:
HeidiSQL: so simple but I didn't like the theme used. you can't debug.
Toad for mysql: until now was working with it but now they migrated to ToadEdge.
ToadEdge: Now trial only.
Workbrench: Nice solution to forget of Toad but without Debug.
dbForge Express: good theme and easy to work, for me the best one, but debug is in payment products.
MySQL Debugger: Windows defender didn't execute because told me it could damage my OS. Untrusted.
Database4: Windows defender didn't execute because told me it could damage my OS. Untrusted.
Saving logs: it is a good idea but you lose too much time configuring it and sometimes is not good to watch the solution.
My best bet is dbForge ... but I will use Server Explorer of .Net to debug my stores.
I hope this solution can help you.

Why is the "forward engineering" feature not working on mySQL workbench?

Forward engineering : Problems with transfering data from an EER model to the SQL editor.
I am new to databases development and SQL. It seems like the forward engineering feature in My SQL Workbench is not working properly. I am able to edit or add fields in different tables in the EER-Model but when I run the forward engineering, the changes, I had made in all the tables, don't show up in the SQL editor.
I installed MySQL Workbench software and I configured it to run on a live server .I created an EER-diagram and I can edit and modify the schema properly ,create relationships, add new tables.
When i run the forward engineering feature , it seems to run without any problems, there are not any ERROR prompts or warnings and at the ending of the procedure there is a prompt saying : "Forward engineering completed Successfully!". The message log window appears to be right and I can't identify where the problem comes from.
Any help would be appreciated.
I think it's some kind of bug on the version of MySQL so instead of choosing the option 'Database->ForwardEngineer' there is a workaround
'Database-->SynchroniseModel' this should show all your changes in SQL Editor
Hope that helps!
go to edit and then preferences then modeling->MySQL and then type 5.7.9 in the Default Target MySQL version
forward engineering don't work sometimes because of mismatch version

I need help in exporting an sql file from my database

Good day, I'm currently new in working with databases. I downloaded an application called MySql Worckbench 5.2 CE because I saw that it has an easy way of creating and accessing databases. I'm now in the process of exporting the .sql. Whenever I go to the export tab which looks like this:
After I click on Start Export, it gives me this error:
I'm not sure what the error is cause I'm not familiar with MySql dump.. is there a way to resolve this? or use an alternative way. I'm also not familiar with using mysql from cmd (Windows) but if there is any suggestion or steps I can follow, it would be a great help.
Great and simple tutorial for MySQL Workbench.
http://blancer.com/tutorials/25445/visual-database-creation-with-mysql-workbench/
Check out the Generating SQL section.
Still facing problem. ↓↓↓
Try installing MySQL Workbench on-default Windows directory.
I recommend using PhpMyAdmin
http://www.phpmyadmin.net/home_page/index.php
OR navicat? (not free)
or you can use Sequel Pro for mac (free)

Can we have a sql express-like database using MySql

Can we create a sql express-like database using MySql.
meaning: the database files can reside in the project's directory and can work on any machine having sql express installed.
Does MySql provide such a facility? and if so, how can this be done
thanks
Nope. This is not possible.
I've used Firebird SQL for that kind databases, especially coupled with the embedded engine.
Take a look at libmysqld. Basically, it lets you embed a MySQL server in a C/C++ program. Not sure how it works, as i've never used it. But it's supposedly a standard part of MySQL now, so it could be available to anyone that has MySQL installed.
I imagine you could have your own folder of tables and such, point the embedded server at it, and go.