Mysql insert returning 'insufficient parameter"

here is the server-side code: http://pastebin.com/YRNtuF0S
client-side: http://pastebin.com/kD5RJkYK
Video: http://youtu.be/L9WJjH0a8Ec
I have had many people help me with this, but they could not figure it out so I am bringing it to you Facepunch.
When I call the function SetName2, it says insufficient parameters in the console and does not follow through with the mysql insert. Any ideas?


(User was banned for this post ("Wrong section" - mahalis))

You REALLY want to SQLStr all those variables going into the query, it also helps a few issues you can have.
Does it just say “insufficient parameters”? There must be something else?

What mysql plugin are you using?

I just figured it out, rookie mistake, i didnt put the mysql connection at the beginning of the query lol. all i have to do was add con like this mysql.query(con, …