Problem with mysql - 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: Problem with mysql (
/showthread.php?tid=652391)
Problem with mysql -
MatiAcademia - 09.04.2018
My problem is that I downloaded a server to open with my vps linux centos 6, but what happens is that the server brings mysql version 20, and when I update it to work in my centos 6, it compiles me with errors.
What I can do?
Thanksss
Re: Problem with mysql -
Zeus666 - 09.04.2018
Show those errors
Re: Problem with mysql -
MatiAcademia - 09.04.2018
pawn Код:
4083) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(4167) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(4173) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(4243) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(4301) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(4341) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8302) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8360) : error 017: undefined symbol "mysql_insert_id"
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8362) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8392) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8397) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8863) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(8873) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(9073) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(9208) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(9289) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(9429) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(11840) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(11856) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(11871) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(11940) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(12164) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(12198) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(12252) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(12283) : error 035: argument type mismatch (argument 1)
C:\Users\Mati\Desktop\Texter\CiudadProhibida\gamemodes\CP-RP.pwn(12297) : error 035: argument type mismatch (argument 1)
it is in vain that I show you the errors, since the errors of the sample because it uses an old plugin the game mode and now with an updated plugin does not go
Re: Problem with mysql -
kovac - 09.04.2018
You need to use functions that come with mysql version
Re: Problem with mysql -
Fairuz - 10.04.2018
mysql_insert_id is from R6 version.
You should switch to R6 version or update your script.