Ошибка при запуске mysql workbench

I have downloaded the no-install portable version of Workbench. When I run the exe file (on Windows XP), nothing happens. Does it need some MySQL running? I think it’s standalone, right? I have XAMPP for MySQL. Any dependency etc?

asked Sep 7, 2013 at 12:24

Naman's user avatar

3

You need to install the following in order to run the current version of MySQL Workbench:

  • Microsoft .NET Framework 4.5.2
  • Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019

See: dev.mysql.com/doc/workbench/en/wb-requirements-software.html
.

Joe Borysko's user avatar

Joe Borysko

4931 gold badge7 silver badges16 bronze badges

answered Sep 7, 2013 at 18:42

krokodilko's user avatar

krokodilkokrokodilko

35.1k7 gold badges53 silver badges78 bronze badges

9

Update 2020:

Unfortunately this is still happening:

  1. Download .NET 4.0 (My machine already had it.)
  2. Download Visual C++
  3. As the above solution states. Download the Mysql workbench
    installer.

I still don’t know why, it would allow me to install without checking for dependencies. I have become accustomed to this kind of behavior when I am installing any application and to not see it is annoying. I suppose I should leave this personal opinions out of my solution but I have had to install this multiple times and have comes across some kind of dependency issue.

answered Jan 17, 2020 at 20:28

just_myles's user avatar

just_mylesjust_myles

2352 silver badges9 bronze badges

4

In my case, i tried all solutions but nothing worked.

My SO is windows 7 x64, with all the Redistributable Packages (x86,x64 / 2010,2013,2015)

The problem was that i tried to install the x64 workbench, but for some reason did not work (even my SO is x64).

so, the solution was download the x86 installer from : https://downloads.mysql.com/archives/workbench/

answered Jul 10, 2017 at 18:06

Bachask8's user avatar

Bachask8Bachask8

3101 gold badge7 silver badges18 bronze badges

There are two prerequisite requirements need to install MySql Workbench as follows.

  1. .Net Framework 4.0
  2. Microsoft Visual C++ 2010

When .Net Framework 4.0 does not exist your computer installation will be corrupted. But if Microsoft Visual C++ 2010 does not exist your computer then you will continue the installation but cannot open MySql Workbench program. Sometimes you will need Microsoft Visual C++ 2013 instead of Microsoft Visual C++ 2010. So I recommend to install Microsoft Visual C++ 2013.

Microsoft Visual C++ 2013

answered Feb 20, 2016 at 15:29

Dis_Pro's user avatar

Dis_ProDis_Pro

6331 gold badge10 silver badges21 bronze badges

2

In Windows 10 I browsed to %APPDATA%MySQLWorkbench then deleted the workbench_user_data.dat file

Doing so lost my MySqlWorkbence settings but allowed MySqlWorkbence to open.

answered Oct 17, 2020 at 19:26

Shannon McGee's user avatar

1

I have uninstalled 8.0.19 (64) and installed 8.0.18 (64 bit) and now it Opens.

answered Apr 1, 2020 at 21:54

Vijay Chenji's user avatar

it might be due to running of xampp or wampp server stop all services running and try to open mysql command line

answered Nov 29, 2016 at 23:41

Harish Kumar's user avatar

Harish KumarHarish Kumar

511 gold badge2 silver badges8 bronze badges

0

I found I needed more than just the Visual C++ Redistributable 2015.

I also needed what’s at this page. It’s confusing because the titles make it ambiguous as to whether you’re downloading the (very heavy) Visual Studio or just Visual C++. In this case it only upgrades Visual C++, and MySQL Workbench launched after this install.

Das_Geek's user avatar

Das_Geek

2,7357 gold badges20 silver badges26 bronze badges

answered Mar 7, 2020 at 23:59

user2457356's user avatar

You should have these two already installed in your system:

  1. Microsoft Visual C++ 2015-2019 Redistributable
  2. Microsoft .NET Framework 4.5.2

I did these two installations for MySQL Workbench 8.0 CE.

answered Mar 7, 2021 at 9:01

ANJALI ASHA JACOB's user avatar

None of these suggestions worked for, however setting compatibility to Vista worked and now the workbench opens again.

answered Apr 30, 2021 at 5:38

Telimaktar's user avatar

2022 case:

My MySQL Workbench was working normally and from one moment it just didn’t want to open anymore. I’ve lost almost half a day trying to fix it.

In folder %APPDATA%MySQL I had to delete the whole folder Workbench,
instead of deleting just workbench_user_data.dat file (which didn’t help)

answered Jan 9, 2022 at 9:28

Ljubisa Livac's user avatar

Ljubisa LivacLjubisa Livac

8193 gold badges13 silver badges38 bronze badges

Given that there’s so little on this on the web, I’ll provide my answer despite this thread being over two years old: it’s probably a no-brainer but run Workbench as Administrator (doh!)

answered Jun 20, 2022 at 20:16

Rex the Strange's user avatar

0

I have MySQL workbench installed on my computer and always worked correctly. Now try to run it and do not run. Gives an error:

MySql Workbench has encountered a problem
External component has throw an exception.

We are sorry for the inconvenience but an unexpected exception has been raised by one of the MySQL Workbench modules. In order to fix this issue we would kindly ask you to file a bug report. You can do that by pressing the [Report Bug] button below.

Please make sure to include a detailed description of your actions that lead to this problem.

Thanks a lot for taking the time to help us improve MySQL Workbench!

The MySQL Workbench Team

And then the application crashes.

Cœur's user avatar

Cœur

36.9k25 gold badges193 silver badges262 bronze badges

asked Mar 20, 2014 at 10:41

strange_098's user avatar

Figured it out. I saved off a «new» .sql file while in Workbench. I exited Workbench. When launched again is when I got the error.

For some reason I looked at the folder I saved the .sql file in and noticed it was 0kb in size. I deleted this file and re-launched Workbench … it launched normally.

halfer's user avatar

halfer

19.8k17 gold badges98 silver badges185 bronze badges

answered Mar 20, 2014 at 10:46

jmail's user avatar

jmailjmail

5,9043 gold badges20 silver badges35 bronze badges

3

Problem solved ….

Because your computer doesn’t have Visual C++ Redistributable Packages for Visual Studio 2013 ;)

answered Oct 5, 2014 at 13:11

Melih's user avatar

[Problem resolved]

MySQL Workbench has encountered a p‌r‌o‌b‌l‌e‌m

same error i got it

Reason-

i don’t have enough space in my drive.

Solution

I had deleted and moved some files.
Start Mysql Workbench it start working as expected

When it start mysql workbench all database schema will be empty

All database restored in mysql workbench

Restart the mysql80 service

  1. Goto control pannel

  2. Click on Administrative tools

  3. Select Mysql80 and click on start button

  4. Re-open the mysql workbench

It shows all your data

You can solved the above error with this steps

answered Apr 5, 2019 at 6:28

Sameer Bahad's user avatar

I just installed the latest updates to 16.04 LTS and I have mysql-workbench working. I had mysql-server installed already and added now mysql-workbench as new. I have these versions:

mysql-workbench 6.3.6i+dfsg-0ubuntu1
mysql-server 5.7.17-0ubuntu0.16.04.2

MySQL Workbench’s Help > About shows 6.3.6 build 511 CE (64 bits)
My kernel is 4.4.0-72-generic #93-Ubuntu SMP x86_64

Try listing the dependencies of libgiomm-2.4.so.1 and checking if any of them are missing:

ldd /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1

You can also try ldd for /usr/lib/mysql-workbench/mysql-workbench-bin, but it produces a lot bigger list and I think your error message refers to a dependency of libgiomm-2.4.

I prefer using synaptic to update software. I would run the command synaptic from the terminal, use Reload, Mark All Upgrades and Apply, reboot if a new kernel was installed. If you don’t want to use Mark All Upgrades, use Reload, then click Search and search for mysql-workbench, select mysql-workbench with right mouse button and select Mark for Upgrade, and do the same to mysql-workbench-data, and then click Apply.

If it doesn’t find updates, try selecting mysql-workbench, select Reinstallation for it with right mouse button, do the same for mysql-workbench-data, and then click Apply.

You can also try Mark for Complete Removal, Apply, and then install it as a new package.

If you prefer apt, you can try first to check for broken dependencies:

sudo apt-get check

I would also first update packages to the latest ones. It should also install updates to mysql-workbench if it finds any:

sudo apt-get update

Reboot if a new kernel was installed.

If there were no updates and/or mysql-workbench still doesn’t work, try removing it with autoremove so any new libs installed as dependencies are also removed:

sudo apt-get autoremove mysql-workbench

Then try installing it again:

sudo apt-get install mysql-workbench

MySQL Workbench could not connect to MySQL

MySQL Database (Db) is a database service that runs on a Local Server and on the Web. It is ideal for both small and large applications and it uses the standard SQL language. MySQL is free to download and use and has the most comprehensive set of advanced features, management tools, and technical support to achieve the highest levels of MySQL scalability, security, reliability, and uptime. The data in a MySQL database are stored in tables. A table is a collection of related data, and it consists of columns and rows, and the Db is useful for storing information categorically. This article, you will learn how to fix MySQL Workbench could not connect to MySQL server on the localhost 10061. In this article, you will learn how to fix ‘MySQL Workbench could not connect to MySQL server”

Note: It is worth noting that by default, the MySQL server listens for connections only from localhost. Which means it can be accessed only by applications running on the same host. But in production environments, you can allow remote access to the MySQL server.  

In this aspect, you will have to configure the MySQL server to listen on a specific IP address. Or all IP addresses on the server. See the following guides on MySQL. How to reset Mysql Root password, how to access MySQL Server from command Prompt, how to create and delete MySQL database, and how to migrate Veeam MsSQL Database to a new MsSQL Server.

This article shows the steps to resolve connection issues to MySQL Servers. See how to install Microsoft SQL Server 2019 and MsSQL Command line tools on Ubuntu Linux, how to uninstall Microsoft SQL Server on Windows 10 and Windows Server, and how to download and install Microsoft SQL Server 2019 Developer Edition and Microsoft SQL Server Management Studio on Windows 10 and Windows Server.

This error is shown in because the application was unable to connect to the MySQL server. There could be a number of reasons. But in my case, it was because the service was stopped and the service was not running. To fix this issue, kindly follow the steps below.

Launch MySQL Workbench to open the home screen. Existing connections are shown when you click the MySQL Connections view from the sidebar. No connections exist for first-time users.

Launch MySQL Workbench

Click on the Server Menu and click on Startup/Shutdown option as shown below

This will open up the Administration -Startup/Shutdown window. Click on Start Server

Accept the UAC. Next, you will be required to enter your password in order to start the database server. Enter your password and click on OK.

From the Administration, the Startup/Shutdown window, you should see the server is now running. And on this window, you can stop or take the server offline.

As you can see, the MySQL service is also running. And this is all that is needed to resolve this connection issue.

I hope you found this blog post helpful. You have learned how to fix the following error “MySQL Workbench could not connect to MySQL server on the localhost 10061”. If you have any questions, please let me know in the comment session.

MySQL Workbench allows connecting to remote server databases from your personal computer.

However, MySQL workbench failed to connect errors happen due to MySQL version compatibility or set up problems.

One such error is,

Failed to Connect to MySQL at 7129bXXX43dc.XXXX.com:3306 through SSH tunnel at wheelxx@xxx.x.xxx.xx:2414 with user username

At Bobcares, we often get requests from our customers to set up MySQL workbench as part of our Server Management Services.

Today, we’ll see the top reasons that result in MySQL failed connection and how our Support Engineers fix them.

How to Connect to a Cloud Database via MySQL Workbench

MySQL workbench is s free, visual tool for database architects, developers, and DBAs. Also, it provides a platform for database management like development, administration, database design, creation, etc. The maintenance of a database becomes easy with this unique tool.

Well, MySQL Workbench is available on Windows, Linux and Mac OS X. And, that’s yet another reason for its popularity.

Here, let’s see how our Support Engineers connect to Cloud Databases via MySQL Workbench.

1. Initially, we go to http://www.mysql.com/products/workbench/ and install MySQL WorkBench.

2. Then, we launch MySQL Workbench, select Server Administration >> New Server Instance option.

3. We select the Remote Host option and enter the URL you received when you created the database instance. Again, we click Continue.

4. Next, we go to Connection Method menu >> select Standard TCP/IP over SSH.

5. Also, we change the value for SSH hostname to name or IP address of a Cloud Server that we have created.

6. Then, we enter the following value as

  1. SSH Username:- cloud server user name
  2. MySQL Hostname:-  hostname received while creating the database instance via the API.
  3. Username:- enter the username received when you created the database instance.

7. After that, we click Continue.

8. Finally, we enter the database instance password.

That’s it, we’ll get the Server Administration screen.

Common problems after setting up MySQL Workbench

From our experience in managing servers, we’ve seen customers facing different kinds of problems after installing MySQL Workbench.

Let’s see how our Support Team solved these common errors.

Missing SSL certificate

Recently, one of our customers contacted us with a problem related to MySQL Workbench. Also, both the SSH connection to the server and from the server to the cloud database worked. But when tried connecting from MySQL Workbench, it didn’t work. He received an error from Workbench. The error said,

Failed to Connect to MySQL at 7129b041xxxx476e8d37651071b12a6681b732.rackspaceclouddb.com:3306 through SSH tunnel at xxx.x.xxx.xx:2414 with user username connection error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown.

On checking, our Support Engineers found that the problem was related to the SSL of the Cloud instance. In order to solve the problem, the options were to either configure MySQL workbench to connect without SSL OR configure SSL for the cloud instance.

However, configuring MySQL workbench without SSL can be a security risk. So, we set up SSL with the Cloud Database instance and solved the problem.

Incompatible MySQL version

Similarly, another customer had an error when tried to setup workbench for cloud hosting platforms like Appian. He got an error "failed to connect to MySQL at localhost 3306 with user root".

While checking, our Support Engineers found that the installed version of MySql was MySql 8.X which is not compatible with workbench. Therefore, we installed the Version 5.7.X version and it sorted out the problem.

[Never worry about MySQL workbench failed to connect errors anymore! We are here to fix it for you.]

Conclusion

In short, errors like MySQL workbench failed to connect may happen due to MySQL version compatibility or because of missing SSL certificate. Today, we saw how our Support Engineers set up MySQL workbench and fix related errors.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = «owonCMyG5nEQ0aD71QM»;

Понравилась статья? Поделить с друзьями:
  • Ошибка при запуске mx vs atv
  • Ошибка при запуске nvcpl dll не найден указанный модуль
  • Ошибка при запуске mudrunner incorrect
  • Ошибка при запуске ntfs sys
  • Ошибка при запуске mta san