

The default naming for log files in MySQL on Windows is: So I looked to see if there was a way to purge the logs. In my case, the clue pointed to corrupted log files, log file not found, and the log file name read like a log event. In your command prompt, change directory to C:\MAMP\bin\mysql\bin ( cd \MAMP\bin\mysql\bin).Type “ cmd” into the box and then press Ctrl+Shift+Enter to run the command as an administrator. Start Command Prompt with Run as administrator (if you don’t run as administrator, the service may not start due to not being able to log to Event Viewer).Copy the config file my.ini from C:\MAMP\conf\mysql to C:\MAMP\bin\mysql (otherwise command line service will have no config).I’m going to explain how to do that, but you can also skip straight to trying what fixed my MySQL. I started MySQL from a console window to troubleshoot why MySQL wouldn’t start. That seemed to fix MySQL for lots of people on StackOverflow, but not for me! The inno_db_force_recovery suggestion also DID NOT work for me – and I suggest you try my less potentially destructive option first. delete ib_logfile0 and ib_logfile1 and start MySQL.This article is particularly for people on Windows who have tried the other option first, that is everywhere on StackOverflow. When the computer rebooted, MySQL would not restart, and I spent the next 4 hours sweating, trying to get it back up. when I bought a MacBook Air, I thought I'd try out Parallels again).My Windows crashed (blue screen) one day while I was updating a WordPress website on MAMP.

Parallels' networking support is a bit more dodgy than VMWare Fusion (which I'd been using on my old MacBook Pro for quite a while without a problem. Update: It looks like this will work if you choose the 'Shared Network' type as well go figure. You should now be able to access whatever site you have defined at in MAMP via Windows Internet Explorer. Add a line like the following to the file and save: " ".and enter "c:\windows\system32\drivers\etc\hosts" (use Notepad to open). Open your Windows Hosts file and add your virtual hosts:.Get your Mac's IP address (for your WiFi adapter or Ethernet whatever's the primary interface).In Parallels' options for your virtual machine, go to Hardware, then Network 1, and choose 'Default Adapter' for 'Type'.(This tip should also work similarly with Vista, Windows 7, etc.).Īfter browsing around a bunch of different forums, the MAMP site, and Parallels documentation, I was still flummoxed by Parallels' weird Shared Host networking behavior, which seemingly didn't allow me to access virtualhosts I set up with MAMP for developing sites locally.Īfter much experimentation, I found that the simplest way to be able to type in '' (or '', if that's your style) in Internet Explorer on Windows, and get a virtual host running via MAMP on my Mac, is to do the following:
