Major typo fix, query_mysql was invoked as query_myql in entire code base. Ugly.