I have installed MYSQL with homebrew and am accessing it via the client in system preferences. When I click "Start MYSQL Server" the only installed instance MySQL 8.0.14 goes from red to green becoming active, but only remains active for a few seconds before flicking back to inactive. This repeats continuously.
Additionally, within Sequel Pro I am able to create new databases and update them with the Query terminal however when trying to load my existing databases from my machine, the client shows an unexpected error message of and becomes completely unresponsive.
I have tried uninstalling/reinstalling to no avail. s
Starting MySQL from the command line with
mysql.server start
Returns an error message of
2019-03-08T17:38:36.6NZ mysqld_safe A mysqld process already exists
I have tried killing all processes (MacOS Can't start MySQL Server) but the error remains.
Apologies if I am missing a glaringly onvious mistake, still quite new to MySQL!
Thanks in advance
Related
I have installed Mysql server and mysql workbench and have successfully used mysql workbench to work with my databases. I used it and have since then closed the program and shut off my computer. Now when I click on my connection, it shows a server status screen and says 'no connection'. I get error message 10061 could not connect server may not be running. This is the second time this happened to me and I find that reinstalling mysql fixes this. The problem is I cannot reinstall every time I need to use mysql workbench. What can I do to solve this?
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.
I have installed XAMPP on OS X and I want to start MySQL but it's giving an error:
XAMPP's MySQL can not start while another mysql server is running. Please turn it off and try again.
How can I handle this?
Maybe you should turn off the other MySQL server and try again.
You could open activity monitor (for example, open spotlight (command-space) and enter "activity monitor", hit enter), then type mysql in the search field, select the MySQL server process, and hit the 'x' in the upper left to terminate it.
Otherwise you will need to investigate why a MySQL server is already running.
It is not possible to start a MySQL server through XAMPP when you have a MySQL server that is already running in the local machine.To start the MySQL server through XAMPP, you have to stop the server running in local machine.
Came into work this morning to find one of our servers had mysql not running. Checking logs, I found a empty log file for today. It has been created around 530am, the Rackspace server panel says the server was "Last Updated:" around the same time. I rebooted the box to try and see if mysql was just not starting on boot, and it start.. I also ran "sudo update-rc.d mysql defaults" and found it was already in the list. One of the other developers in the office told me this was the 3 time in the last 2 week that the box has turned off mysql without errors or warnings. New Relic shows the server has not gotten over 60% of memory, so I have no idea why it keeps turning off.. Any ideas?
I have removed sudo and changed root passwords just incase someone in the office was turning it of unintentionally or something stupid like that.
I just installed MYSQL workbench 6.0.7 but i m not able to get the server up. It shows the
Error - The database server instance is unknown
And start server button is disabled.
Please Help
Actually this was the second time i was trying to install MySQL(first time it had crashed).
while uninstalling the first time, it didnt remove some of the data folders.
I had to delete MySQL Data folder from C:\Documents and Settings\All Users (manually)
and reinstalled MYSQL workbench and the instance.
It is working absolutely fine now...