SA-MP Forums Archive
MySQL error - 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: MySQL error (/showthread.php?tid=498775)



MySQL error - Warm - 05.03.2014

Hello. I have these errors when i start the server ...

Код:
[09:22:50] [debug] Run time error 19: "File or function is not found"
[09:22:50] [debug]  mysql_connect
[09:22:50] [debug]  mysql_ping
[09:22:50] [debug]  mysql_close
[09:22:50] [debug]  mysql_query
[09:22:50] [debug]  mysql_real_escape_string
[09:22:50] [debug]  mysql_store_result
[09:22:50] [debug]  mysql_num_rows
[09:22:50] [debug]  mysql_free_result
[09:22:50] [debug]  mysql_fetch_row_format
[09:22:50] [debug]  mysql_retrieve_row
[09:22:50] [debug]  mysql_fetch_field_row
and i have and this error from MySQL

Failed (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference)


Re: MySQL error - GalaxyHostFree - 05.03.2014

Are you sure you put mysql.dll or mysql.so under plugins in your server.cfg?

Compile again your GM or FS that is using a mysql include.

EDIT: plugin and include of mysql must be in the version.

EDIT 2: The second problem might help you with this link below just try:

MySQL Plugin


Re: MySQL error - HK - 05.03.2014

Hello, use mysql_static.so


Re: MySQL error - Warm - 05.03.2014

at plugins ?


Re: MySQL error - Warm - 05.03.2014

Iput this mysql_static.so at plugins but give these errors

Код:
[16:24:21] [debug] Run time error 19: "File or function is not found"
[16:24:21] [debug]  mysql_ping
[16:24:21] [debug]  mysql_real_escape_string
[16:24:21] [debug]  mysql_store_result
[16:24:21] [debug]  mysql_num_rows
[16:24:21] [debug]  mysql_free_result
[16:24:21] [debug]  mysql_fetch_row_format
[16:24:21] [debug]  mysql_retrieve_row
[16:24:21] [debug]  mysql_fetch_field_row