X-Gang System Failed to connect database..
#1

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

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

[18:26:21] 
[18:26:21] Server Plugins
[18:26:21] --------------
[18:26:21]  Loading plugin: sscanf
[18:26:21] 

[18:26:21]  ===============================

[18:26:21]       sscanf plugin loaded.     

[18:26:21]          Version:  2.8.2        

[18:26:21]    © 2012 Alex "Y_Less" Cole  

[18:26:21]  ===============================

[18:26:21]   Loaded.
[18:26:21]  Loading plugin: streamer
[18:26:21] 

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

[18:26:21]   Loaded.
[18:26:21]  Loading plugin: mysql
[18:26:21]  >> plugin.mysql: R39-5 successfully loaded.
[18:26:21]   Loaded.
[18:26:21]  Loaded 3 plugins.

[18:26:21] 
[18:26:21] Ban list
[18:26:21] --------
[18:26:21]  Loaded: samp.ban
[18:26:21] 
[18:26:21] 
[18:26:21] Filterscripts
[18:26:21] ---------------
[18:26:21]   Loading filterscript 'anims.amx'...
[18:26:21] OnFilter
[18:26:21]   Loading filterscript 'p.amx'...
[18:26:21] OnFilter
[18:26:21]   Loading filterscript 'jcolor.amx'...
[18:26:21]   Loading filterscript 'x-gang.amx'...
[18:26:21]  
[18:26:21]  
[18:26:21]  
[18:26:21]  ======================================= 
[18:26:21]  |                                     | 
[18:26:21]  |        YSI version 4.00.0001        | 
[18:26:21]  |        By Alex "Y_Less" Cole        | 
[18:26:21]  |                                     | 
[18:26:21]  ======================================= 
[18:26:21]  
[18:26:23] 


========================================================
[18:26:23] ||                 X-Gang System by X337               ||
[18:26:24] 
++++++++++++++++++    WARNING    ++++++++++++++++++++++

[18:26:24] X-Gang System Filterscript failed to connect to database !

[18:26:24] ++++++++++++++++++    WARNING    ++++++++++++++++++++++

[18:26:24]   Filterscript 'X-Gang.amx' unloaded.
[18:26:24]   Loaded 4 filterscripts.

[18:26:24]  
[18:26:24]  
[18:26:24]  
[18:26:24]  ======================================= 
[18:26:24]  |                                     | 
[18:26:24]  |        YSI version 4.00.0001        | 
[18:26:24]  |        By Alex "Y_Less" Cole        | 
[18:26:24]  |                                     | 
[18:26:24]  ======================================= 

[18:26:29] Number of vehicle models: 628
What should I do?
Reply
#2

The information provided in the question are not enough.There could be number of possible issues.
1.) You have not setup a MySQL server on your machine.
2.) Your credentials to connect the database are wrong.
3.) The script' issue.
etc...
Reply
#3

Quote:

#define HOSTNAME "localhost"
#define USERNAME "root"
#define PASSWORD ""
#define DATABASENAME "SA-MP"

I have to be in scriptfile
Create SA-MP.db file?

(I do not know mysql well)
Reply
#4

oh well I see you're way too new to MySQL, i suggest you learn some basics about MySQL (and sql) before putting your hands on it.

Quote:

I have to be in scriptfile
Create SA-MP.db file?

maybe you're confusing MySQL with sqlite.
Reply
#5

Quote:
Originally Posted by Vizi10
View Post
(I do not know mysql well)
Here is a basic tutorial for mysql database from this you can learn about mysql and how to connect.

https://sampforum.blast.hk/showthread.php?tid=129183
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)