PDA

View Full Version : i got some mysql error this is log


Kapupc
17/03/2014, 09:09 PM
[03:55:47] [ERROR] CMySQLConnection::SetCharset - error 2019: Can't initialize character set utf8_unicode_ci (path: c:\Program Files\MySQL\MySQL Server 5.1\\share\charsets\)
[03:55:47] [ERROR] CMySQLConnection::SetCharset - error 2019: Can't initialize character set utf8_unicode_ci (path: c:\Program Files\MySQL\MySQL Server 5.1\\share\charsets\)
[03:55:47] [ERROR] CMySQLConnection::SetCharset - error 2019: Can't initialize character set utf8_unicode_ci (path: c:\Program Files\MySQL\MySQL Server 5.1\\share\charsets\)
[03:55:47] [ERROR] CMySQLConnection::SetCharset - error 2019: Can't initialize character set utf8_unicode_ci (path: c:\Program Files\MySQL\MySQL Server 5.1\\share\charsets\)

then this is code

SQL = mysql_connect(SQLHOST, SQLUSER, SQLDATABASE, SQLPASSWORD);
mysql_set_charset("utf8_unicode_ci");
new charset[20]; mysql_get_charset(charset);
printf(charset);

i just upgrade blueG plugins how to fix pls help ty

ikkentim
17/03/2014, 09:37 PM
Is the charset available on the mysql server?

Calabresi
17/03/2014, 09:37 PM
Error explains itself. Probably the charset you entered is not supported.

Kapupc
17/03/2014, 10:00 PM
it about my database or mysql version or what can u tell me

Calabresi
17/03/2014, 10:04 PM
Probably BlueG's Plugin doesn't support it because what MySQL documentation says it's client-sided problem.

iZN
17/03/2014, 10:14 PM
mysql_set_charset("utf8_unicode_ci", SQL);