Asterisk 13.8 and MySQL Character set

mysql_real_connect(mysql,localhost,astuser,dbpass,…) failed(2019): Can’t initialize character set asterisk (path: /usr/share/mysql/charsets/)

i have this error when i try to insert data to my database

This seems to be a MYSQL issue and not Asterisk issue, you might see an error like this if you have character set problems:

MySQL Connection Failed: Can’t initialize character set charset_name

The character set is a simple character set that is not compiled into mysqld, and the character set definition files are not in the place where the client expects to find them.

http://dev.mysql.com/doc/refman/5.7/en/cannot-initialize-character-set.html

1 Like