The problem seems to be the 64bit version of Python. After installing the 32bit version the MySQL connector worked.