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



MySQL Help. - iKevin - 24.04.2016

Hi buddies,

I was wondering if you could help me out solve this error.
Код:
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 3
STR: /;
SQL:  */;

SQL query:

*/;

MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*/' at line 1



Re: MySQL Help. - SyS - 24.04.2016

showing the sql codes would be helpful


Re: MySQL Help. - iKevin - 24.04.2016

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
showing the sql codes would be helpful
Mind telling me from which to which line am I supposed to show bro?


Re: MySQL Help. - SyS - 24.04.2016

maybe you have tried added prologues aka comment lines /* on the top of your script


Re: MySQL Help. - iKevin - 24.04.2016

I don't get ya man, just tell me what am I supposed to post here so you can help me out please.


Re: MySQL Help. - SyS - 24.04.2016

beginning of your script pls post that


Re: MySQL Help. - iKevin - 24.04.2016

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
beginning of your script pls post that
What script? My gamemode or my MySQL?


Re: MySQL Help. - J0sh... - 24.04.2016

*/ - Probably in your script where you do the query.


Re: MySQL Help. - SyS - 24.04.2016

where ever you do query that line


Re: MySQL Help. - iKevin - 24.04.2016

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
where ever you do query that line
Look, I've just started with MySQL, and I haven't scripted this so. I don't understand you guys. Can you tell me what I've asked for?