Fixed issues with parsing; now working with mysql.