Thread:Project:Support desk/MySQL 1267: Illegal mix of collations when wgUseTeX=true (math on)

When I turn wgUseTeX to true I get a page that says A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "MathRenderer::_recall". Database returned error "1267: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' (localhost)". I am using PHP 5.3.2, MySQL 5.1.51-log.

texvc works great. I have no idea what laten1_sweedish_ci is.