An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: Can't initialize character set latin1 (path: /usr/share/mysql/charsets/).