MAMP 4.2 MySQL Server Not Starting - mamp

I recently upgraded from MAMP 4.1.1 to MAMP 4.2 on my Mac running MacOS 10.12.6. After upgrading, MAMP 4.2 will not start the MySQL server. Additionally, there is not an option to Stop servers. I see a green box to the right of Apache Server along with the the ability to select Preferences and Start Servers. Open WebStart page is grayed out.
I followed the instructions on MAMP mysql server won't start. No mysql processes are running to delete the ib_logfile0 and ib_logfile1 files from MAMP/db/mysql56, but that did not work. In addition to the ib_logfiles, I also deleted ibdata1 followed by all of the contents of mysql56, but neither of those worked.
Lastly, I do not see a mysqld running in Activity Monitor.
Any help in restoring my MAMP functionality is greatly appreciated. Thank you in advance for any help.

I had the same problem and tried the same things which didn't solved it.
What solved it for me is I tried starting mySQL in terminal manually in Terminal, here:
/Applications/MAMP/bin/startMysql.sh
I saw this error in Terminal prompt:
mysqld_safe error: log-error set to '/Applications/MAMP/logs/mysql_error_log.err', however file don't exists. Create writable for user 'mysql'.
So I manually create a file '/Applications/MAMP/logs/mysql_error_log.err' and retry startMysql.sh, mySQL then started with no problem.
Back to MAMP app console, I can also start/stop servers and 'Open WebStart Page' with no problem now.

Related

Mongo DB compass is installed but not able to launch or open app

Mongo DB community edition is installed successfully but MongoDBCompass is not auto launching..I could even see MongoDBCompass icon created in desktop and able to search in taskbar...but I am not able to launch or open app by clicking on it...it simply keeps loading for some sec and stops.
I tried uninstalling and installing Mongo DB multiple times but no luck.
I have selected Install Mongo DB as service and selected option Run service as network service users in installation steps as well.
Could anyone please help me? Any help will be highly appreciated.
Thanks in advance.
checked checked for compass install
Mono DB 64bit successfully installed

pgadmin4 Ver 3.0 not starting on windows 10

for a PostgreSQL project I installed pgadmin 4 Ver. 3.0 on a Windows 10 computer.
Anyhow pgadmin does not start and I get the following error from the Internet Explorer Browser:
"Cannot reach this page. Make sure the web address http://127.0.0.1:56575 is correct.".
I've been using PgAdmin 4 Ver 2.1 for some time without issues, and have uninstalled it before installing the Ver 3.0.
Any help would be appreciated.
Regards,
For PGadmin 4 Ver 3.0 you need to completely start afresh. Remove any old shortcuts and make a new one. You need to locate where PGadmin was installed and make a new shortcut with a target and path like ""C:\Program Files (x86)\pgAdmin 4\v3\runtime\pgAdmin4.exe".
For anyone else viewing this, make sure you do an uninstall of the old PGadmin before installing the new one.
Further, you may not be able to get an SQL window running unless you allow it through addblockers etc

MongoDB Compass loading forever

My MongoDB Compass won't launch. It was working an hour ago, but now it just shows this screen forever.
I've tried rebooting. And even uninstalling and re-installing Compass. But every time I launch it, it just shows the loading screen and never proceeds. If I go to Connect > Connect to..., it just opens another window that does the same thing.
Version 1.10.9
Windows 10 x64
How can I get this program to launch correctly? What should I investigate to try to figure this out?
Had the same issue today, with the Version 1.10.9 on Mac OSX. I then reinstalled MongoDB Compass Community Edition to the latest Beta version (Version 1.11.0-beta.1), the loading proceeded and everything went fine.
Same here. I tried uninstalling/reinstalling. No joy.
I reinstalled an older version 1.8.2 which worked fine. Must be an issue with the latest release.
Edit: I upgraded to 1.10.9 this morning and reverted to 1.8.2 after coming across this issue.
After having the same issue today (november 24:th) i used the latest stable version (1.10.10) and it solved the problem. I´m on Mac OS Sierra (10.12.6).
On window 7, i found the issue was because of two reason and both were related to power shell.
First problem was because of execution policy related to power shell script, which can be solved by running the following with administrator privilege.
Set-ExecutionPolicy RemoteSigned
After this, please check the power shell version, in case you are trying to install latest version of mongodb on window 7, power cell version needs to me minimum of 3.0, in my case it was 2.0 and because of that installation was getting stuck. After upgrading power shell to latest, installation went through quickly.
I managed to surprisingly fix this issue by restarting my computer. I was on Ubuntu 18.04, Compass v1.x (somewhere this year).
I understand that the poster is on Windows but this was the first hit on Google.
This seems to be forever error, even in 3.6.3 version, that i've tried today. There are questions about the error everywhere.
The link below
Installation/Update of MongoDB 3.6.2 on Windows Hangs
explains the problem - the install trying to run execute the PowerShell script to download/install MongoDB Compass, which seems to hang due to insufficient rights.
DO NOT install Compass, or install it later with appropriate rights.
The same problem here.
My MongoDB version v4.2.1, compass-1.23 on Win 10 OS.
In MongoDB Compass screen panel, I went to View-> Toggle DevTools.
In Console section there was error indication in red :
"""Error: Command failed: powershell (...'powershell' is not recognized as an internal ..."""
Powershell can be added to environment variables paths:
Please check this:
Powershell' is not recognized as an internal or external command, operable program or batch file
So, I closed MongoDB Compass window. Then I added path to environment variables:
C:\Windows\System32\WindowsPowerShell\v1.0\
And it solved my problem.
You can also add this line too, to enable MongoDB cmd line commands (your location and version can be different):
C:\Program Files\MongoDB\Server\4.2\bin\
Please check this: How to Install MongoDB on Windows 7/8/10 | How to Install Mongo Compass as separate installer

Mysql 6.1 db error

I am using mysql 6.1 workbench and having issues every time I turn on system. I've tried atleast 50 solutions from different sources but it is not getting fixed. Tried to change default port as well re-installed it quite a few times now. Couldn't understand why it's not getting fixed.
Error is: Can't connect to MySQL server on '127.0.0.1' (10061) (2003).
I've seen official documentation in detail and followed each step.
Please help.
I figured this out...actually when WAMP and MySQL Workbench both installed only then it shows this issue. Quitting WAMP closes connection so system shuts services down and workbench fails to start service at it's own. By removing one of both won't show such errors. Problem solved.

Mamp Pro Restore root user / uninstall

Hi in Mamp Pro I accidentally removed the root account, so I now cannot use mysql to create new databases and all other operations.
This is the error I get when startng mysql via mamp pro:
Checking MySQL databases failed
Error message:
/Applications/MAMP/Library/bin/mysqlcheck: Got error: 1044: Access denied for user 'root'#'localhost' to database 'mysql' when selecting the database
I have tried to reset to factory settings but that hasn't helped.
Basically in the users overview in Phpmyadmin, I just get a yellow box saying "No privileges".
I also tried to uninstall Mamp Pro, but when I tick the uninstaller's checkboxes and hit uninstall, I get the following error:
Error
The privileged action failed.
Help would be really appreciated since I cannot do any work like this.
MAMP evidently creates some configuration files that can't be wiped via the uninstaller. I was able to circumvent the The privileged action failed error and completely uninstall MAMP Pro using the following steps:
Delete the appsolute directory from /Library/Application Support , which contains configuration files that are created upon MAMP Pro installation
Delete the file hosts.mamp.bak in /etc, which is the MAMP hosts backup file
Delete the MAMP directory from /Applications/MAMP
Open the MAMP Pro Uninstaller, check all five options, and click to uninstall
This should completely wipe the existing MAMP/MAMP Pro installation and enable a clean, fresh install. You may need to restart your computer to get Apache running after re-installation.