Buenas noches, tengo un problema con el exmysql. No puedo enlazar la base de datos, pero he hecho todo lo posible para que su usted nos haya vendido los gamemods. Supongo que sabe que puedo ayudarlo a corregir su agradecimiento por adelantado.
MYSQL = {}
local hostname = "localhost"
local username = "marerougedu7"
local password = "8QW3GwMf"
local database = "zmarerougedu72"
local port = 3306
MYSQL.connection = nil
function MYSQL.checkConnection()
MYSQL.connection = dbConnect("mysql","dbname=mta;host=localhost", "root", "ijaCGrnbDD4biRjMvC5O", "autoreconnect=1")
if not MYSQL.connection then
outputChatBox("[LSRP - Connection] Conexi�n perdida!")
cancelEvent(true)
end
end
addEventHandler("onResourceStart", resourceRoot, MYSQL.checkConnection)
function requestConnection()
if not MYSQL.connection then
outputChatBox("[LSRP - Connection] Conexi�n perdida!")
return
end
return MYSQL.connection
end
MYSQL = {}
local hostname = "localhost"
local username = "marerougedu7"
local password = "8QW3GwMf"
local database = "zmarerougedu72"
local port = 3306
MYSQL.connection = nil
function MYSQL.checkConnection()
MYSQL.connection = dbConnect("mysql","dbname=mta;host=localhost", "root", "ijaCGrnbDD4biRjMvC5O", "autoreconnect=1")
if not MYSQL.connection then
outputChatBox("[LSRP - Connection] Conexi�n perdida!")
cancelEvent(true)
end
end
addEventHandler("onResourceStart", resourceRoot, MYSQL.checkConnection)
function requestConnection()
if not MYSQL.connection then
outputChatBox("[LSRP - Connection] Conexi�n perdida!")
return
end
return MYSQL.connection
end
MYSQL = {}
local hostname = "localhost"
local username = "marerougedu7"
local password = "xxxxxxxxx"
local database = "zmarerougedu72"
local port = 3306
MYSQL.connection = nil
function MYSQL.checkConnection()
MYSQL.connection = dbConnect("mysql","dbname=mta;host=localhost", "root", "ijaCGrnbDD4biRjMvC5O", "autoreconnect=1")
if not MYSQL.connection then
outputChatBox("[LSRP - Connection] Conexi�n perdida!")
cancelEvent(true)
end
end
addEventHandler("onResourceStart", resourceRoot, MYSQL.checkConnection)
function requestConnection()
if not MYSQL.connection then
outputChatBox("[LSRP - Connection] Conexi�n perdida!")
return
end
return MYSQL.connection
end