Maybe Mysql problem I dont know
#1

Hello guys I have just downloaded a gamemode from ****** and edited Mysq connection in the gamemode file and added it to my ultra h but when I get IG it's not showing me the login box can you help me please ...

Код:
// ( MySQL - Connection )

#if USE_LOCALHOST == true

#define LOCAL_HOST 				"127.0.0.1"
#define LOCAL_USER 				"root"
#define LOCAL_PASS 				"password"
#define LOCAL_DB 				"xsfv3"


#else

#define SERVER_HOST				"127.0.0.1"
#define SERVER_USER				"port_1359"
#define SERVER_PASS				"password"
#define SERVER_DB				"port_1359"

#endif
Reply
#2

it says server host "127.0.0.1" change it to your MYSQL IP.
Reply
#3

How to get the ip? You mean servers ip?
Reply
#4

Contact your host.
Reply
#5

btw paste your server log here.
Reply
#6

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[16:36:44] password = ""  (string)
[16:36:44] 
[16:36:44] Server Plugins
[16:36:44] --------------
[16:36:44]  Loading plugin: crashdetect.so
[16:36:44]   CrashDetect v4.13.1 is OK.
[16:36:44]   Loaded.
[16:36:44]  Loading plugin: streamer.so
[16:36:44] 

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

[16:36:44]   Loaded.
[16:36:44]  Loading plugin: mysql.so
[16:36:44] 

  > MySQL plugin R5 successfully loaded.

[16:36:44]   Loaded.
[16:36:44]  Loading plugin: LIFE-CMD.so
[16:36:44] *====================================================*
[16:36:44] *                                                    *
[16:36:44] *                  LIFE:CMD - Loaded                 *
[16:36:44] *                                                    *
[16:36:44] *                    Version: v2.0                   *
[16:36:44] *                                                    *
[16:36:44] *                    ©2013 Kazon                   *
[16:36:44] *                                                    *
[16:36:44] *====================================================*

[16:36:44]   Loaded.
[16:36:44]  Loading plugin: gvar.so
[16:36:44] 

*** GVar Plugin v1.3 by Incognito loaded ***

[16:36:44]   Loaded.
[16:36:44]  Loading plugin: whirlpool.so
[16:36:44]  
[16:36:44]  ==================
[16:36:44]  
[16:36:44]   Whirlpool loaded
[16:36:44]  
[16:36:44]  ==================
[16:36:44]  
[16:36:44]   Loaded.
[16:36:44]  Loading plugin: sscanf.so
[16:36:44] 

[16:36:44]  ===============================

[16:36:44]       sscanf plugin loaded.     

[16:36:44]          Version:  2.8.1        

[16:36:44]    © 2012 Alex "******" Cole  

[16:36:44]  ===============================

[16:36:44]   Loaded.
[16:36:44]  Loaded 7 plugins.

[16:36:44] 
[16:36:44] Ban list
[16:36:44] --------
[16:36:44]  Loaded: samp.ban
[16:36:44] 
[16:36:44] 
[16:36:44] Filterscripts
[16:36:44] ---------------
[16:36:44]   Loading filterscript '.amx'...
[16:36:45]   Loading filterscript 'gangzone.amx'...
[16:36:45]   Unable to load filterscript 'gangzone.amx'.
[16:36:45]   Loading filterscript 'spirit.amx'...
[16:36:45]   Unable to load filterscript 'spirit.amx'.
[16:36:45]   Loading filterscript 'TD.amx'...
[16:36:45]   Unable to load filterscript 'TD.amx'.
[16:36:45]   Loading filterscript 'GangBases.amx'...
[16:36:45]   Unable to load filterscript 'GangBases.amx'.
[16:36:45]   Loading filterscript 'cameditor.amx'...
[16:36:45]   Unable to load filterscript 'cameditor.amx'.
[16:36:45]   Loaded 1 filterscripts.

[16:36:45]  
[16:36:45]  
[16:36:45]  
[16:36:45]  ======================================= 
[16:36:45]  |                                     | 
[16:36:45]  |        YSI version 3.09.0684        | 
[16:36:45]  |        By Alex "******" Cole        | 
[16:36:45]  |                                     | 
[16:36:45]  ======================================= 
[16:36:45]  
[16:36:45] [MYSQL]: [ERROR]:first Connection to `DATABASE` failed!
[16:36:45] [MYSQL]: [ERROR]:second Connection to `DATABASE` failed!
[16:36:45] :: MySQL Conecting :: To '127.0.0.1' as 'root' to database 'xsfv3'.
[16:36:45] :: MySQL :: Connecting to '127.0.0.1' failed.
[16:36:45] :: MySQL :: Connection to '127.0.0.1' established.
[16:36:45] :: MySQL :: Database 'xsfv3' selected.
[16:36:45] - 32 Forbidden Names Loaded
[16:36:45] - 27 Forbidden Tags Loaded
[16:36:45] - 29 Forbidden Words Loaded
[16:36:45] Loaded 3 vehicles from: vehicles/trains.txt
[16:36:45] Loaded 15 vehicles from: vehicles/lv_law.txt
[16:36:45] Loaded 255 vehicles from: vehicles/lv_gen.txt
[16:36:45] Loaded 38 vehicles from: vehicles/sf_law.txt
[16:36:45] Loaded 349 vehicles from: vehicles/sf_gen.txt
[16:36:45] Loaded 24 vehicles from: vehicles/ls_law.txt
[16:36:45] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
[16:36:46] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
[16:36:46] Total vehicles from files: [ 1171 ]
[16:36:46]   The server started up at 16:36:46 on 12/05/2017
[16:36:46]   The server started up at 1494607006 epoch time
[16:36:46] Number of vehicle models: 171
[16:36:47] [connection] 94.23.208.199:56646 requests connection cookie.
[16:36:48] [connection] incoming connection: 94.23.208.199:56646 id: 0
[16:36:48] [npc:join] ChumLee has joined the server (0:94.23.208.199)
[16:36:57] [connection] 94.23.208.199:45293 requests connection cookie.
[16:36:57] [connection] 94.23.208.199:57168 requests connection cookie.
[16:36:58] [connection] incoming connection: 94.23.208.199:45293 id: 1
[16:36:58] [connection] incoming connection: 94.23.208.199:57168 id: 2
[16:36:58] [npc:join] Tram_Driver has joined the server (1:94.23.208.199)
[16:36:58] [npc:join] Train_Driver has joined the server (2:94.23.208.199)
Reply
#7

Go into the ultra-h control panel, click on MySQL and create a database.

After you've done it, paste the login details to your script, recompile it and it should work
Reply
#8

Quote:
Originally Posted by JustMe.77
Посмотреть сообщение
Go into the ultra-h control panel, click on MySQL and create a database.

After you've done it, paste the login details to your script, recompile it and it should work
uh bro I did it, still not working :/
Reply
#9

is this a link of mysql? http://n8.ultra-h.com:4890/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)