How to change the location where MAMP creates the database?

1

I would like to change the location where the creates the bank of data.

The default would be this:

  

/ Applications / MAMP / db /

And I would like to create by default the Database on my server that would be:

  

/ Volumes / Sites /

Does anyone know of any method to change this default setting?

    
asked by anonymous 20.02.2014 / 13:09

2 answers

0

I was able to do this, I installed WAMP on my server and got his IP number.

And now in my browser just leave the address as below:

  

(IP of my server) / localhost / WAMP /

And then I can access the home page and when I create a database, it leaves on my server.

    
20.02.2014 / 19:56
2

I think the most practical thing is to create a symbolic link in /Applications/MAMP/db pointing to /Volumes/Sites .

If the db folder has already been created, move it first to the destination:

mv /Applications/MAMP/db /Volumes/Sites

(assuming the Sites folder does not yet exist)

Then create the symbolic link:

ln -s /Volumes/Sites /Applications/MAMP/db
    
20.02.2014 / 14:48