mysql for excel - mysql

I am not sure if this is the right place to ask this question but I am facing an issue with MySQL installed failing to recognize office 2013 and install MySQL for Excel.
Basically MySQL
https://dev.mysql.com/downloads/
Has an addin for excel that allows you to automatically connect to a database and make changes. During the MySQL installation it checks for requirements, one of which is Excel 2007 or greater. And that requirement is not met for me.
I am running Office 2013 Pro Plus (64bit) and Installing MySQL (64bit)
Can someone help? Is there any other application that you recommend?
I dont want to import and export data or files manually.
I need an application that opens all the tables in separate sheets that I can manually change and automatically save to the DB.
Any advice appreciated.

Looks like this is a known bug:
For now please try the following workaround:
Launch the MySQL Installer (if already installed launch it from Start Menu > MySQL > MySQL Installer).
Try to do a Full Installation (but you do not have to actually install them).
Go to C:\Program Data\MySQL\MySQL Installer\Product Cache
See if you have there the MySQL for Excel MSI and launch it manually.
I would look these other topics on Google.

This bug is fixed as of MySQL for Excel 1.2.1. However, due to the nature of this bug, you must manually uninstall previous versions of MySQL for Excel before installing v1.2.1+.

I faced the same problem. You can download the mysql_for_excel standalone .msi file here: https://dev.mysql.com/downloads/windows/excel/
After that copy the .msi to C:\Program Data\MySQL\MySQL Installer\Product Cache
and execute it. Restart the excel. Done
Then in the Data tab you can see this

I have a same problem in Mysql 8.0.17 and the Mysql for excel not showing in the data tab, after install and uninstall several time finally found the problem in the adds-in for user of my windows. You must open the excel app by [open as administrator] Mysql for excel appeared after this.

Related

Can't connect to MySQL database to Visual Studio?

I have a mysql database, I have to create asp.net web API that uses this API, but now I ma facing a problem connecting mySql to visual studio!
So I have installed mysql for visual studio v1.2.9, & mysql for .NET v8.0.22.
Then I moved to my Tools / Connect to Database, I selected MySQL Database, then I got this :
I know it said that there's an error in my installation is not set right, but why everything was working perfectly fine before trying this mysql thing !
Anyone has gone through such problem with mysql ?
Any help would be much appreciated.
It is quite strange and when I install these two installation packages, I can open MySQL Database without any errors.
Open VS2019-->Click Tools-->Connect to Database-->select MySQL Database:
So please try the following steps to troubleshoot the issue:
=================================
1) disable any third party extensions under Extensions-->Manage Extensions-->Installed
a) Then, close VS, delete all cache files C:\Users\xxx(current user)\AppData\Local\Microsoft\VisualStudio\16.0_xxx\ComponentModelCache
Note: 16.xxx is VS2019 and 15.xxx is VS2017.
b) Open Control Panel-->Programs--> and find the two programs-->right-click on them-->Repair
c) After that, open VS and then test whether the issue occurs.
================================
2) If the step one does not work, I think you should restore vs to the original environment. Afterwards, uninstall the two programs.
a) Open VS-->Tools-->Import and Export Settings--> click Reset all settings
b) close VS, delete the whole vs setting folders under C:\Users\xxx(current user)\AppData\Local\Microsoft\VisualStudio\16.0_xxx
c) install the two mysql programs and remember to click Complete mode to install the two programs.
d) when you finish it, try to test again.
================================
3) the third suggestion is to repair VS or update the VS if there is a new release version.

how to get most recent mySQLdump tool

Perhaps not really a suitable SO question but I'll give it a try.
When I try to dump my DB from the remote server, my MySQL workbench for MacOS tells me:
Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump is version 5.7.12, but the MySQL Server to be dumped has version 5.7.15.
Because the version of mysqldump is older than the server, some features may not be backed up properly.
It is recommended you upgrade your local MySQL client programs, including mysqldump, to a version equal to or newer than that of the target server.
The path to the dump tool must then be set in Preferences -> Administrator -> Path to mysqldump Tool:
I have version 6.3 installed, and the built-in "check for updates" only tells me I already have the latest version.
Does anyone know where I can go to download this more recent dump tool? I looked around on the MySQL.com but couldn't find it.
There's a simple way to solve your problem.
Just go on google type: mysqldump 5.7.20 (this number is the version are you looking for, in my case is 5.7.20)
choose the link site from https://dev.mysql.com/downloads/mysql/
on that page scroll down until you see a list of avaible downloads, choose your operating system (in my case is Windows) then... download the zip that has the version you are looking for.
unzip that folder... go to bin inside it... from there copy mysqldump and paste it into your MySQLWorkbench folder... (replacing the one is in there)
restart your MySQLWorkbench... and that is all.
You just need to update the mysqldump.exe.The up to date version of the exe can be found in. To solve the issue just go to Edit->Preferences->Administrator ,and browse the following path
for example C:\Program Files\MySQL\MySQL Workbench CE 5.2.47\mysqldump.exe
If for some reason you have two separate installations of the SQL server, you might be pointing to the wrong sqldump.

Issue with MySQL Server

My problem is that windows services don't have MySQL Server. How to run it?
I need to run MySQL Server on a new for me laptop. There's Windows 7. And MySQL have been installed on it. In order to verify this, I opened the Programs and Features window and saw it there:
But when I go to the Services to run it, I don't find it. It's absent there:
It's very strange for me. Why MySQL is not among the services? How can I run it? It's installed on this station.
Try performing the following steps and then check again.
Start Command Prompt (cmd)
Go to the "C:\Program Files\MySQL\MySQL Server 5.6\bin"
type mysqld --install
In my case I installed it through XAMPP so I do not have it among windows services (it has it´s own control panel), but I found this document that may help you solve this problem:
https://dev.mysql.com/doc/refman/5.1/en/windows-start-service.html
Also check the error log file which shows specific information about the start and stop of the service. In my case is called mysql_error.log and it is located under the '...mysql\data\' folder. Another document talking about that:
https://dev.mysql.com/doc/refman/5.7/en/error-log.html

MySQL Workbench has encountered a p‌r‌o‌b‌l‌e‌m. MySQL doesn't start Windows 7

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.
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.
Problem solved ....
Because your computer doesn't have Visual C++ Redistributable Packages for Visual Studio 2013 ;)
[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
Goto control pannel
Click on Administrative tools
Select Mysql80 and click on start button
Re-open the mysql workbench
It shows all your data
You can solved the above error with this steps

How do i get MS EXCEL to Connect to MYSQL Database

How Can i get Microsoft Excel 2010 to Connect to MYSQL Server (5.6.12)
I installed MYSQL as a WAMP installation
Windows 7 Ultimate 64bit
MYSQL 5.6.12
Apache 2.4.4
PHP 5.4.16
this should be straight forward, but i've obviously missed something
Now.. When i open Excel 2010
i then go to "Data"
i then go to "From Other Sources"
i then select "From SQL Server"
I'm then presented with the Data Connection Wizard
I have the Log on Credentials (that's not an issue)
I'm Logging on with "Use the following User Name and Password"
i require the SERVER NAME
but i keep getting this error
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
I understand the concept of what needs to happen, that being, i need to specify the connection path of MYSQL to Excel
Now.. so far i have done this...
Ensured that the WAMP Server was ONLINE and the Service was STARTED
obviously the default server is localhost that does not work, but then again on my machine that only brings up the WAMP page (so that's Understandable)
i usually access MYSQL via PhpMyAdmin the URL for the Login page is
http://localhost/phpmyadmin/
i tried entering that (that doesn't work either, but then again, i understand that is only the front end)
so..
i tried typing in MYSQL , mysql , MYSQL5.6.12 , mysql/mysql5.6.12
none of that worked
the MYSQL install path is
C:\WAMP\bin\mysql\mysql5.6.12
so.. Logically if i gave that to Excel, it should find it, But it didn't
I researched the Net and everything Either says Use the Wizard , but doesn't go into detail on the Server Name, one place said to install Microsoft Connector, I have done so.. it didnt' help
I have tried the Server Name as localhost , http://localhost , 127.0.0.1 didn't work
Using MYSQL CLI i entered "status;" and used the connection name localhost via TCP/IP didn't work
i went into MYSQL buddy and i found this
You are connected to MySQL 5.6.12 with the user Martin.Kuliza#localhost.
i tried this also, didn't work
i noticed the URL on the command line title as being
C:\Windows\System32\cmd.exe - C:\wamp\bin\mysql\mysql5.6.12.bin\mysql.exe -u
i entered all this... didn't work
i entered the part Starting from C:\wamp.... Didn't work
I've tried entering wamp, WAMP, Apache, APACHE, apache
I've tried dozens of combinations
I've tried finding the config file for connector in case that had something to do with it (couldn't find it)
i've tried looking at the config.inc.php file for clues,
I'm stuck and need some help (for this seemingly simple problem)
it's just a Connection Wizard and i'm honestly gobsmacked that i actually need to ask the forum for help, but, Sadly i do
Have you done this?
http://office.microsoft.com/en-001/excel-help/connect-to-a-mysql-database-HA104019820.aspx
Before you can connect to a MySQL database, you need the MySQL
Connector on your computer. To install the MySQL Connector
(Connector/Net), go to http://go.microsoft.com/fwlink/?LinkId=278885
and download Connector/Net 6.6.5 for Microsoft Windows. The driver
bit-ness needs to match the Microsoft Power Query for Excel add-in
installation (32-bit or 64-bit).
I FOUND A SOLUTION...
Kudos to HongTAT for keeping me on the right path....
(Even though i did do all the initial stuff that you posted, before i actually posted the question, The Act of you Posting it, Got me Looking at it a little deeper...
One thing led to another and i found the solution... Thank you
i suspect some sort of incompatibility issue must have been at fault here
i noticed that Power Query 64 bit would not install on my 64bit system
instead Power Query installer provided an Error that simply stated to the effect of:
since office is 32bit you can't install 64bit Power Query
but, i did install Connector/ODBC and Connector/Net as 64bit
perhaps there was something in that configuration that didn't mesh well with each other.
Also, Aparently "bit-ness" is a confusing term that is supposed to mean ( Ensure that that bit instruction set of the of the ODBC Connector Matches the bit instruction set of Power Query in Excel)
In actual fact you don't need Power Query or Visual Studio for that matter
However i can see the benefit of power Query, at this stage
WHAT I DID...
I uninstalled all traces of Microsoft Visual Studio from Add/Remove Programs
I Uninstalled all Traces of Visual C++ Redistributable from Add/Remove Programs
I Uninstalled Power Query from Add/Remove Programs
I Uninstalled MYSQL Connector/ODBC from Add/Remove Programs
I Uninstalled MYSQL Connector/Net from Add/Remove Programs
i left the WAMP Installation and MYSQL Intact
i conducted a Windows Update
i restarted the system
i then downloaded the following and installed it
http://dev.mysql.com/downloads/file.php?id=450946
Now.. Even though this Package installation is the same thing as installing it 1 by 1
i found that by doing a "CUSTOM INSTALLATION"
and installing all products EXCEPT FOR MYSQL SERVER
i was able to connect via the connector/net to the MYSQL Database right away
LASTLY i installed Power Query for Excel (since that was the whole point to begin with)
and this time it connected right away and Worked Perfectly
the Server Name was localhost
as i suspected
and the credentials were correct as i suspected
the only thing was that i had to set it up without Encryption of password
i got a message saying something like My Version of Office did not support encryption
or something to that effect
but, i connected without encryption and it worked perfectly
PROBLEM SOLVED
I NOW DEEM THIS QUESTION TO BE RESOLVED
THANKYOU TO HongTat
Did you try googling this before you posted your question? Because if you spent at least 10 seconds searching the internet, you would have found the answer to your question.
http://office.microsoft.com/en-us/excel-help/connect-to-a-mysql-database-HA104019820.aspx