mysql.inc 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.inc error(?) (
/showthread.php?tid=367466)
mysql.inc error(?) -
davelord - 10.08.2012
Код:
C:\Users\Mijn pc\Desktop\UCP_TEST\pawno\include\mysql.inc(30) : error 021: symbol already defined: "mysql_connect"
C:\Users\Mijn pc\Desktop\UCP_TEST\pawno\include\mysql.inc(30) : error 025: function heading differs from prototype
C:\Users\Mijn pc\Desktop\UCP_TEST\pawno\include\mysql.inc(30) : error 025: function heading differs from prototype
C:\Users\Mijn pc\Desktop\UCP_TEST\pawno\include\mysql.inc(30) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
- line 30
Quote:
native MySQL:mysql_connect(const host[], const user[], const pass[], const db[], auto_reconnect = 0);
|
First time trying MySQL scripts, Vortex in this case. What do I do? I'm completely blank.
Re: mysql.inc error(?) -
Ranama - 10.08.2012
Don't really know, have you checked that it's the latest version of the include, and have you defined mysql_connect somewhere else in your script/includes?
Re: mysql.inc error(?) -
davelord - 10.08.2012
Yep, that was it, lool I'm such a dumbass, thanks mate.