Dropbox and MAMP localhost development with both Windows and OS X
-
I’ve set up a work environment with using MAMP on OS X (my laptop) and installed WordPress on Dropbox so that I will be able to develop my WordPress site on two separate machines (Mac laptop – Windows desktop). I’m able to access and edit my WordPress site on my Mac latptop without problem. The problem that I am having is connecting to the database from my Windows desktop.
The steps that I took on my laptop (OS X):
- Installed WordPress to Dropbox.
- Installed MAMP for OS X.
- MAMP – Pointed the document root to the WordPress files in Dropbox.
- MAMP – Created a WordPress database with phpMyAdmin
- Moved the local “db” folder in MAMP to a Dropbox folder that I named “servers”.
- Created a symbolic link that points to the moved “db” folder in Dropbox/servers folder.
Steps taken on my desktop (Windows):
- Installed MAMP Beta for Windows.
- MAMP – Pointed the document root to the WordPress files in Dropbox.
- Backed up the local “db” folder and created a mklink that points to the “db” folder in Dropbox that was moved over from my Mac earlier.
Both Apache and MySQL are green when I click “Start Servers” from within MAMP on my Windows desktop; However, when I try to connect to localhost I receive the error “error establishing a database connection”.
I’m at a loss at what to try next. Has anyone else had success with a similar setup between machines with different operating systems? Any help or suggestions are greatly appreciated.
- The topic ‘Dropbox and MAMP localhost development with both Windows and OS X’ is closed to new replies.