![]() ![]() This isn’t something that has to be done, but I find it cleaner to start without anything in the MAMP directory such that when I create the symbolic link, that’s what it creates. ![]() Next, I usually remove the db directory from its original location. Note that the syntax for symbolic links takes the destination directory first then the source directory second. First, make sure MAMP is completely closed. This is where things can break if you’re not careful. Copy the Database to Dropboxįrom there, I copy the db directory from its original location on the hard drive to the location I’ve selected in Dropbox.Īfter that, I need to create a link. So, for example, in Dropbox, I have /Apps/MAMP/db since I have a db directory on the hard drive. I prefer the name the directory based on the directory that it’s going to represent as I create a link between the two files. Note, however, that the name of the directory is important – at least to a degree. Sometimes this is for editors, other times it’s for software like Transmit (as you see in the shot above), and I’m using it for sharing databases, too. Ive contacted MAMP support but they are no help (they wrote back Please, can you reinstall MAMP PRO under root/admin permissions, whatever that means). This is up to you, but I’m a fan of using an “Apps” directory out of which I create shared settings. To do this, copy (versus move) the db directory to another place on your hard drive so that you can easily restore it if something goes wrong. This should go without saying, but anything that’s located in the /Library/Application Support/appsolute/MAMP PRO/db directory should be saved in case you make an error when setting up the shared resources. Since I’m on macOS, the following set of instructions are going to be specifically for that, but they can be tailored for other machines. be comfortable with symbolic links (or shortcuts, if you’re on Windows).have MAMP Pro (or your software of choice) installed on each machine,.have Dropbox installed on each machine,.More specifically, it’s in the db subdirectory, but I’ll get to that momentarily.Īnd the idea behind sharing databases between (or among) machines is this: You just need to know where your software of choice keeps its database files.įor MAMP Pro and on macOS, this is in the /Library/Application Support/appsolute/MAMP PRO directory. Secondly, although the example that I’m going to give is specifically for MAMP Pro, this is applicable not only to MAMP but other systems as well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |