Jump to content

plasha

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by plasha

  1. Hello I have a problem to link my database to the server may help me i have already try a lot of solution my nothing is thank you for your help and sorry for my English which are very bad local MYSQL = {} MYSQL.connection = nil function MYSQL.checkConnection() MYSQL.connection = dbConnect ("mysql","dbname=zmarerougedu72;host=localhost", "marerougedu7", "xxxxxxx", "autoreconnect=1") 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
  2. @aka BlueHe intentado como me lo enseñas mi no siempre tiene una solución para ti? 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=zmarerougedu72;host=localhost", "marerougedu7", "xxxxxx", "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 [18:23:46] Start up of resource exMysql cancelled by script [18:23:46] Stopping exMysql
  3. 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
  4. when i turn on my server everybody has the right on gui fr (panel) how i can do to remove his right ( can be a tutorial) (sorry for my english I am Belgian)
×
×
  • Create New...