Unexpected symbol near ':' erroe


#1

hi
i have a local server when i start my server i see this error

essential-mode-mysql: server/player/login.lua:10: unexpected symbol near ':'

the code in login file is

local MySQL:open("127.0.0.1", "gta5_gamemode_essential", "root", "0000000")

any fix please


#2

You should post this in the appropriate topic.


#3

Pretty sure it’s supposed to be a . and not :. Try that.

Also, as @Vespura pointed out, if you have a problem with an add-on, post in the original topic. Don’t create a new one.


#4