Send Yun sensor data to MySQL on external server

There are three ways to connect php with mysql

http://forum.arduino.cc/index.php?topic=206746.msg1524891#msg1524891

Running php script from linino terminal

http://forum.arduino.cc/index.php?topic=229077.msg1655208#msg1655208