MAMP

Drupal: How to solve Warning: file_put_contents The file could not be created

Sometimes when migrating or setting up a local development site you may run into an error that looks like this:

Likely the Drupal temp directory isn’t writable. An easy fix for this is to navigate to /admin/config/media/file-system and enter the correct temporary directory or if you’re not sure what it should be, then delete… Read more Drupal: How to solve Warning: file_put_contents The file could not be created

How to Set Up MySQL Workbench on a MAMP Server

My main reason for using MySQL Workbench, at least for now, is for the really cool Data Modeling tools. It a bit of a pain to MySQL Workbench up for MAMP, though. To set mySQL workbench up for MAMP, I found the following to work after scouring the internet and finding this simple to the… Read more How to Set Up MySQL Workbench on a MAMP Server

How to Export a Large MySQL Table on MAMP to a CSV File

You many need to export a data base table that is larger than phpMyAdmin’s maximum allowed size (in the export table tab). An easy way to do this by using the terminal. I have provided a simple example below for MAMP users like me. This information is based on a blog post I found on… Read more How to Export a Large MySQL Table on MAMP to a CSV File

PHP and MySQL command line with MAMP on OSX

I found a handy article named “Getting command line access to PHP and MySQL running MAMP on OSX” by  Joaquin Lippincott . It was very helpful for getting PHP and MySQL acces from the terminal on a mac. In addition, one of the comments by Matthew Bacon was about getting the ZEND FRAMWORK up and running… Read more PHP and MySQL command line with MAMP on OSX

MySQL from the Command Line (terminal) in MAMP PRO

To get to the command line for MySQL for MAMP or MAMP PRO just open up you terminal and enter the following:   /Applications/MAMP/Library/bin/mysql –host=localhost -uroot -proot You can see all the databases by using the following command: If you type the MySQL command : USE <table name>  you can then start using that particular… Read more MySQL from the Command Line (terminal) in MAMP PRO