i got some mysql error this is log - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: i got some mysql error this is log (
/showthread.php?tid=501386)
i got some mysql error this is log -
Kapupc - 17.03.2014
[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
Re: i got some mysql error this is log -
ikkentim - 17.03.2014
Is the charset available on the mysql server?
Re: i got some mysql error this is log -
Calabresi - 17.03.2014
Error explains itself. Probably the charset you entered is not supported.
Re: i got some mysql error this is log -
Kapupc - 17.03.2014
it about my database or mysql version or what can u tell me
Re: i got some mysql error this is log -
Calabresi - 17.03.2014
Probably BlueG's Plugin doesn't support it because what MySQL documentation says it's client-sided problem.
Re: i got some mysql error this is log -
iZN - 17.03.2014
pawn Код:
mysql_set_charset("utf8_unicode_ci", SQL);