Jump to content
  • 0

Problema - Connect la host


SiNeD21

Question

if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("94.23.208.199", "server_98", "server_98_rpg", "parola"), print("Server: hosted");
    else SQL = mysql_connect("", "", "", ""), print("Server: localhost");

Legenda:

parola = nu e parola reala.
 

 

Ce trebuie sa bag sa nu imi dea eroarea asta? Pe localhost imi merge dar cand il bag pe host nu merge.

Spoiler

Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[23:06:51] 
[23:06:51] Server Plugins
[23:06:51] --------------
[23:06:51]  Loading plugin: crashdetect.so
[23:06:51]   CrashDetect v4.15.1 is OK.
[23:06:51]   Loaded.
[23:06:51]  Loading plugin: sscanf.so
[23:06:51] 

[23:06:51]  ===============================

[23:06:51]       sscanf plugin loaded.     

[23:06:51]          Version:  2.8.1        

[23:06:51]    (c) 2012 Alex "Y_Less" Cole  

[23:06:51]  ===============================

[23:06:51]   Loaded.
[23:06:51]  Loading plugin: mysql.so
[23:06:51]  >> plugin.mysql: R34 successfully loaded.
[23:06:51]   Loaded.
[23:06:51]  Loading plugin: streamer.so
[23:06:51] 

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[23:06:51]   Loaded.
[23:06:51]  Loaded 4 plugins.

[23:06:51] 
[23:06:51] Filterscripts
[23:06:51] ---------------
[23:06:51]   Loading filterscript 'UltraHost.amx'...
[23:06:52]   Loading filterscript 'base.amx'...
[23:06:52] 
--Base FS loaded.

[23:06:52]   Loading filterscript 'gl_actions.amx'...
[23:06:52]   Loading filterscript 'gl_property.amx'...
[23:06:53] 
-----------------------------------
[23:06:53] Grand Larceny Property Filterscript        
[23:06:53] -----------------------------------

[23:06:53]   Loading filterscript 'gl_realtime.amx'...
[23:06:53]   Loaded 5 filterscripts.

[23:06:54]  
[23:06:54]  
[23:06:54]  
[23:06:54]  ======================================= 
[23:06:54]  |                                     | 
[23:06:54]  |        YSI version 3.09.0684        | 
[23:06:54]  |        By Alex "Y_Less" Cole        | 
[23:06:54]  |                                     | 
[23:06:54]  ======================================= 
[23:06:54]  
[23:06:54] Server: hosted
[23:06:54] Server vehicles: 0
[23:06:54] Safezones: 0
[23:06:54] Houses: 0
[23:06:54] Clans: 0
[23:06:54] Clan zones: 0
[23:06:54] Bussines: 0
[23:06:54] Turfs: 0
[23:06:54] Factions: 0
[23:06:54] Jobs: 0
[23:06:54] Furnitures: 0
[23:06:54] Safes: 0
[23:06:54] Reading File: blank
[23:06:54] Reading File: properties/houses.txt
[23:06:54] Reading File: properties/businesses.txt
[23:06:54] Reading File: properties/banks.txt
[23:06:54] Reading File: properties/police.txt
[23:06:54] Number of vehicle models: 18
[23:06:54] ====================================================================
[23:06:54] Error ID: 2006, Error: MySQL server has gone away
[23:06:54] Callback: LoadDSVeh
[23:06:54] gQuery: SELECT * FROM `dsveh`
[23:06:54] ====================================================================
 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.