Arduino yun Joomla SQL communications.

Use ash script to SQL communication,

install mysql client

opkg update
opkg install mysql-server

nano mysql

#!/bin/ash
mysql --host=192.168.0.20 --user=root --password=password books<< EOF
INSERT INTO authors (id,name,email) VALUES(4,'ash','ash@yahoo.com');
EOF