First pass and making mysql_output actually connect to mysql.