undefined symbol "mysql_get_field" (+REP)
#1

Hi guys, I'm getting tons of error messages which says "undefined symbol "mysql_get_field"".
I'm using the latest mysql version and the include im using is the a_mysql. What could possibly be the problem? >:

+REPing the helpers.

Here's the full list of errors, I assume the fix is sort of mutual to all of them:
PHP код:
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8269) : error 035argument type mismatch (argument 1)
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8275) : error 035argument type mismatch (argument 1)
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8303) : error 017undefined symbol "mysql_free_result"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8315) : error 035argument type mismatch (argument 1)
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8316) : error 017undefined symbol "mysql_store_result"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8317) : error 017undefined symbol "mysql_fetch_row"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8319) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8320) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8322) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8324) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8325) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8326) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8327) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8328) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8329) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8330) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8331) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8332) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8333) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8334) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8335) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8336) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8337) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8338) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8339) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8340) : error 017undefined symbol "mysql_get_field"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

I got this on the top of my script:
PHP код:
#include <a_mysql> 
And I'm using the latest version.
Reply
#2

You need old mysql plugin. R6 or R7 probably (I would go for R6 as that is mostly the case)
Reply
#3

As DRIFT_HUNTER said, you need older plugin, and older include.
But i will recommend rewrite mysql in gamemode, for the most new plugin R39, with caching, because R6 and R7, will slow down your server and cause lags.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)