For more information visit:
Wednesday, March 03, 2010
Setup a Memcached-Enabled MAMP Sandbox Environment
Nate Haug wrote a great step by step tutorial "Setup a Memcached-Enabled MAMP Sandbox Environment" on the Lullabot site. Thank's Nate! Check it out!
For more information visit:
For more information visit:
Friday, February 26, 2010
How to set the MySQL Default Storage Engine with MAMP
The MySQL Server of MAMP and MAMP PRO uses the Default Storage Engine MyISAM. If you want to change this, you have to change the config file f the MySQL Server. With this tutorial we want to show how to manage this. As Default Storage Engine we are using InnoDB.
MAMP:
How-to check if the modifications succeeded. Servers of MAMP / MAMP PRO must be running.

MAMP:
- Stop the MAMP Server if it is running.
- Use a texteditor to create a file named "my.cnf" and save it to the "/Applications/MAMP/conf/" folder.
- Add the following lines into the file:
[mysqld]
default-storage-engine = InnoDB - Save the file and close your editor.
- Start the MAMP servers.
- Start MAMP PRO.
- Stop the MAMP Server if it is running.
- Select File -> Edit Template -> MySQL my.cnf
- An editor window appears.
- If a Warning message appears confirm with OK.
- Find the section "[mysqld]"
- Beneath the last line of this section add this line:
default-storage-engine = InnoDB - The section "[mysqld]" now looks like this:

- Save (Apple + S) all changes made on "my.cnf"
- Close the editor window (Apple + W)
- Start the MAMP PRO servers.
How-to check if the modifications succeeded. Servers of MAMP / MAMP PRO must be running.
- Open Terminal (Applications/Utilities)
- Enter the following line into the terminal and hit Enter:
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot - Enter the following line into the MySQL prompt and hit Enter:
USE information_schema; - Enter the following line into the MySQL prompt and hit Enter:
SELECT * FROM engines; - A table with the storage Engines of MySQL will show up. Inside the Support column "InnoDB" now has the value "DEFAULT". InnoDB now is the default Storage Engine of the MySQL Server.

- Enter the following line into the MySQL prompt and hit Enter:
exit;
How to set the MySQL Default Storage Engine with MAMP
How to hide the MAMP icon from your dock
If you want to hide the MAMP or MAMP PRO icon from your dock after you opened the application you can follow this little tutorial.
Note:

Note:
- You'll need the Poperty List Editor which is part of the Mac OS X SDK and can be found in the directory "/Developer/applications Utilities/".
- You will loose all modifications after an update of MAMP or MAMP PRO.
- You want reach MAMP and MAMP PRO with Command + Tab any longer. Use Exposé instead.
- Quit MAMP if it's running.
- Open the directory "/Applications/MAMP".
- Right click on Mamp.app
- Choose "Show Package Contents".
- A new window will pop up: "Contents"
- Double click on Contents.
- Open info.plist with the Property Editor
- Add a new entry to the list - therefore choose either "Edit -> Add Item" or click on the "Add Item" icon
- Enter "LSUIElement" (without quotes) into the "Key" column and hit Enter. Your entry will be changed into "Application is agent (UIElement)" automatically.
- In the column "value" activate the checkbox.

- Save and close the file.
- Close "Property List Editor".
- Quit MAMP if it's running.
- Open the directory "/Applications/MAMP PRO 1.8.4" (Version number may be different)
- Right click on Mamp.app
- Choose "Show Package Contents"
- A new window will pop up: "Contents"
- Double click on Contents.
- Open info.plist with the Property Editor
- Add a new entry to the list - therefore choose either "Edit -> Add Item" or click on the "Add Item" icon.
- Enter "LSUIElement" (without quotes) into the "Key" column and hit Enter. Your entry will be changed into "Application is agent (UIElement)" automatically.
- In the column "value" activate the checkbox.

- Save and close the file.
- Close "Property List Editor"
How to hide the MAMP icon from your dock
How to setup MAMP and Coda for Cubecart development
Ben Frain wrote a great step by step tutorial "How to setup MAMP and Coda for Cubecart development" in his blog. Thank's Ben! Check it out!
About Ben Frain
Ben Frain is a web designer and internationally published technology journalist based in the UK.

About Ben Frain
Ben Frain is a web designer and internationally published technology journalist based in the UK.
How to setup MAMP and Coda for Cubecart development
Thursday, February 25, 2010
MY MAMP DUMP 0.3 released
We've just released a small update of MY MAMP DUMP. We've added a second Mac OS X Automator Workflow for importing SQL files into a database to the package.
You can download the new version from Sourceforge.
Download -> https://sourceforge.net/projects/my-mamp-dump/files/

You can download the new version from Sourceforge.
Download -> https://sourceforge.net/projects/my-mamp-dump/files/
MY MAMP DUMP 0.3 released
Labels:
Database,
MY MAMP DUMP,
MySQL,
Update
Wednesday, February 24, 2010
MY MAMP DUMP 0.2 released
We've just released a small update of MY MAMP DUMP.
Improvements
Download -> https://sourceforge.net/projects/my-mamp-dump/files/

Improvements
- MY MAMP DUMP now checks if MAMP and / or MAMP PRO is installed.
Download -> https://sourceforge.net/projects/my-mamp-dump/files/
MY MAMP DUMP 0.2 released
Labels:
Database,
MAMP,
MY MAMP DUMP,
MySQL,
Update
MY MAMP DUMP released
We are often getting asked by our customers how to do dump big MySQL databases from MAMP or MAMP PRO. The problem is that phpMyAdmin is not really the right tool in most cases because of its PHP limits which are often leading to timeouts. Of course you could increase the limit inside the php.ini file. But mostly you won't do that because you don't wish to have too big differences between your MAMP server settings and the settings of your ISP.
Ok, you simply can do your dumps using the terminal - this is a fast an precise way but lots of users love the terminal as the devil the holy water.
So we thought about a solution which could be used by everyone and we decided to simply create an Automator workflow.
And now here we go: "MY MAMP DUMP" (download here)
With this tiny tool (it's available as an open source workflow and as an application) you now can dump your MySQL databases from MAMP and MAMP PRO at ease. Choose the database(s) you plan to dump right from the list. Then choose the appropriate character set and the place where the dump should be saved. That's it!
We added MY MAMP DUMP as a free project to Sourceforge. The project is published under the GPL license. So if you want to expand or change the workflow just go ahead! Take a look at the MAMP Forum and at the bugbase where we added extra sections for this project.
Although it's not really beta MY MAMP DUMP is currently at an early development stage with the version number 0.1. We are looking forward to your feedback - just tell us your wishes, ideas and bug reports ;)

Ok, you simply can do your dumps using the terminal - this is a fast an precise way but lots of users love the terminal as the devil the holy water.
So we thought about a solution which could be used by everyone and we decided to simply create an Automator workflow.
And now here we go: "MY MAMP DUMP" (download here)
- Requirements: min. Mac OS X 10.5 | min. MAMP/MAMP PRO 1.8
(Mac OS X 10.6 Snow Leopard compatible) - Platform: Universal Binary
- File type: Workflow / Application
- File size: 113.3 KB (Workflow) / 253.8 KB (Application)
- Translations: English
With this tiny tool (it's available as an open source workflow and as an application) you now can dump your MySQL databases from MAMP and MAMP PRO at ease. Choose the database(s) you plan to dump right from the list. Then choose the appropriate character set and the place where the dump should be saved. That's it!
We added MY MAMP DUMP as a free project to Sourceforge. The project is published under the GPL license. So if you want to expand or change the workflow just go ahead! Take a look at the MAMP Forum and at the bugbase where we added extra sections for this project.Although it's not really beta MY MAMP DUMP is currently at an early development stage with the version number 0.1. We are looking forward to your feedback - just tell us your wishes, ideas and bug reports ;)
MY MAMP DUMP released
Labels:
Database,
MY MAMP DUMP,
MySQL,
phpMyAdmin
Subscribe to:
Posts (Atom)
