Hello, I have the code like this:
local SQL
local function connect()
-- w ponizszej linii uzupelnij dane autoryzacji
SQL = dbConnect("mysql", "dbname=game;host=localhost", "root", "password", "share=1")
if (not SQL) then
outputServerLog("BRAK POLACZENIA Z BAZA DANYCH!")
else
zapytanie("SET NAMES utf8;")
end
end
And when I start the server the server log show this error:
[2014-02-02 17:07:31] ERROR: [XyzzyRP]/DB2/sql.lua:16: dbConnect failed; Can't connect to local MySQL server through socket '' (111)
Are there any solution of this problem?