Currently trying to install MySQL 5.6.26 on a Windows Server 2003 R2 Service Pack 2, during the installation, it stops at the starting server step, tried following this question's accepted answer, but when I tried starting the service, I get a "
could not start the MySQL56 service on Local Computer. Error 1067: The
Process terminated unexpectedly
and all solutions I read didn't really work, can anyone help?
EDIT:- Would like to add that MySQL was installed before, but I removed it to allow the installation of the new one, if that helps in any way (the newer sql is assigned to the same port as the old one)
MySQL installer in their site is ambiguous and makes it difficult for people to select the proper installer. I am afraid you have chosen a wrong installer for your machine. You can refer to this Answer of mine for a similar problem in another post.
Related
Despites I've already installed XAMPP, I am trying to upload my database via MySQL server 5.7.17 since it's too big but both it and XAMPP use the same port - 3306. MySQL server is not even allowing me to continue to install it unless I make a change
SOrry, I'm a newbie.
Screenshots
Note It was suggested to me to download MySQL Server since I had already installed XAMPP but it didn't help me to upload my database.
No. If port 3306 is in use by an already installed and running MySQL instance, then another MySQL instance cannot use that same port. It is possible to run MySQL on a port other than the default 3306. But before we go there...
I think we might be barking up the wrong tree, trying to install another copy of MySQL and to run two instances of MySQL. Maybe we are wanting to run a different version of MySQL, other than the version other than what is included in the package we already installed.
But back pedal a bit here.
How is it that we reached the conclusion that installing another copy/version of MySQL was a viable solution to the problem we encountered?
It seems like we want to figure out the root cause of the original problem, before we chase down the wrong rabbit trail...
My Wamp Server was working perfectly well until yesterday when I started the mysqld from the command line and went on to import a .sql file from the MySQL console. The WAMP icon stays orange all the time. There is no issue with the Apache service but the issue is with the MySQL service. When I looked for wampmysqld service on services.msc, it doesn't show any. But when I run mysqld from the command line, it works fine.
Itried several methods but none of them worked. I also tried installing Wamp Server 2 as an addon but it didn't work for me, and now I can't select the version of MySQL even.
Can anyone please help me out?
It sounds like you have 2 MYSQL Servers running.
Check the Event Viewer for messages from MYSQL.
Check the services, wampservers MYSQL is called wampmysqld64, if you have another running it will probably be called MYSQL
If this is the case, you will either have to uninstall the other MYSQL or at least Stop it in the services snapin, or disable it, if you are sure it was a mistake uninstall whatever brought this other MYSQL to your party
What did you install recently, some apps bring their own mysql instance for example some installs of MySQL Workbench will install an instance if you pick the full with everything version.
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
I'm trying to get back into PHP and MySQL development since i've found out that MySQL now allows stored procedures. I work with these at work on an Oracle database and use PL/SQL developer to create them. I was looking for a similar sort of interface for MySQL and was pointed in the direction of MySQL workbench. I'm using Xampp as my test server setup and would like to link MySQL Workbench to MySQL on this server however I'm stuck at one of the stages in the installation. I'm trying to create a new server instance and have been successful as far as testing the database connection however on the next page it asks me to set the 'windows configuration parameters' for this machine and failes to discover a MySQL service. I have ensured that both the Apache server and MySQL services are running in Xampp but do not understand why a MySQL service cannot be found and is not being displayed. Has anyone else encountered this issue when trying to use MySQL Workbench and if so, how did you amanage to get it up and running? I'm using Windows 8 and don't know if this is the reason a service isn't being found. I apologise if this is a really simple question with a simple answer however I have only ever used PHPMyAdmin before which is relatively simple to setup.
I have found problems with the packaged *AMP systems. They don't always install things the way other applications expect. e.g. The MAMP system doesn't work well with Python. it's quite easy to install each of Apache, PHP and MySql on Windows (and two of them are already on the Mac and Linux)
If you use the standard MySql install you should have no trouble installing the Workbench, I've done it on both Windows and Mac.
I have found it a bit flakey at times, it won't connect to older server versions and tends to crash when running long scripts. It also doesn't have a great UI for queries, A good program like PLSQL Developer to TOAD would be nice.
The service detection is rather simple. It expects that the service contains "MySQL" in its name. This is planned to be improved later. For now rename your service to something like "MySQL Xampp".
I used to work with XAMPP to build PHP applications. Once I tried Zend engine and uninstalled it. After that, MySQL in XAMPP is not working. It is giving "Terminating worker thread 1" error.
When I check ports,
MySQL has status Service: MySQL_ZendServer51.
Pleas help me how to reassign it back to XAMPP? I have reinstalled XAMPP several times. But no use.
Thanks,
Raj
First you should delete the old mysql service.
Assuming you have Vista or Windows 7:
Go to Start and type cmd.exe in the search field and hit Ctrl+Alt+Enter. This will start the command line as Administrator.
Now you can type sc.exe delete MySQL_ZendServer51 to remove the service.
Now you can start your XAMPP Control Panel and uncheck the "svc" checkbox next to MySQL (if it's not already)
Next check it on again (this will install the proper mysql service)
And make sure you don't have to server running (which could be possible, that Zend installed it's own mysql but for some reason didn't removed it?)
I just went here: c:\xampp\mysql\bin\mysqld.exe
And opened the document and MySQL Started without problem.