SA-MP Forums Archive
Little MySQL connecting problem. - 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: Little MySQL connecting problem. (/showthread.php?tid=523886)



Little MySQL connecting problem. - Sturra - 04.07.2014

Hey,

I wonder maybe anyone could help me out little problem. I tried to put MySQL to my gamemode by this tutorial. ((https://sampforum.blast.hk/showthread.php?tid=159785)). My problem is i dont know what to do these lines.

Код:
 CREATE TABLE IF NOT EXISTS TABLENAME(STRUCTURE)
Код:
ALTER TABLE table_name
ADD column_name datatype
Код:
INSERT INTO table_name (column1, column2, column3,...) VALUES (value1, value2, value3,...)
I know i should put these in PhpMyAdmin, but when i try put the first SQL line PhpMyAdmin poping out this error.

Код:
Error
SQL query:


CREATE TABLE IF NOT EXISTS TABLENAME(STRUCTURE)
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
...and when i press F5 my pawn crashing.

Regards, Sturra


Re: Little MySQL connecting problem. - Sturra - 04.07.2014

Anyone can't help with that?