Edited mysql cookbook