SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 07/07/2018, 01:05 PM   #1
Ahmadd
Big Clucker
 
Join Date: May 2018
Posts: 48
Reputation: 0
Default Another time need help lol

Im trying to host cnrsf script on wampsever mean localhost and im facing mysql problem (GM not connecting to mysql)

Here is how im trying to connect gm with mysql:
Code:
mysql_connect("localhost", "root", "", "cnrsf", connection, 1);
If there's anything wrong please help me

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

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

[17:08:24] 
[17:08:24] Server Plugins
[17:08:24] --------------
[17:08:24]  Loading plugin: mysql
[17:08:24]  SA:MP MySQL Plugin v2.1.1 Loaded.
[17:08:24]   Loaded.
[17:08:24]  Loading plugin: sscanf
[17:08:24] [MySQL] Thread running. Threadsafe: Yes.
[17:08:24] 

[17:08:24]  ===============================

[17:08:24]       sscanf plugin loaded.     

[17:08:24]          Version:  2.8.1        

[17:08:24]    (c) 2012 Alex "Y_Less" Cole  

[17:08:24]  ===============================

[17:08:24]   Loaded.
[17:08:24]  Loading plugin: streamer
[17:08:24] 

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

[17:08:24]   Loaded.
[17:08:24]  Loading plugin: regex
[17:08:24] 


[17:08:24] ______________________________________


[17:08:24]  Regular Expression Plugin v0.2.1 loaded
[17:08:24] ______________________________________


[17:08:24]  By: Fro (c) Copyright <TBG> 2009-2011
[17:08:24] ______________________________________


[17:08:24]   Loaded.
[17:08:24]  Loaded 4 plugins.

[17:08:24] 
[17:08:24] Filterscripts
[17:08:24] ---------------
[17:08:24]   Loading filterscript 'gps.amx'...
[17:08:24] 
--------------------------------------
[17:08:24] GPS System Loaded
[17:08:24] 0, -2438.551025, 741.183044, 35.107868, Supa Save
[17:08:24] 1, -1795.019897, 576.496948, 35.166793, VIP Lounge
[17:08:24] 2, -1927.602294, 261.575897, 40.718589, Vehicle Dealership
[17:08:24] 3, -2621.093017, 217.150161, 4.283658, Ammunation
[17:08:24] 4, -2632.546142, 619.860168, 14.132818, Hospital
[17:08:24] 5, -1890.214599, 813.722656, 35.422653, Job Center
[17:08:24] 6, -1777.782958, 1201.687133, 24.803468, Bomb Shop
[17:08:24] 7, -1566.389892, 1170.356201, 7.187500, Mini-Games
[17:08:24] 8, -1508.060424, 923.515014, 6.869043, San Fierro Bank
[17:08:24] GPS System Loaded...
[17:08:24] --------------------------------------

[17:08:24]   Loading filterscript 'cidrban.amx'...
[17:08:24] 
######################################
[17:08:24] #				     #
[17:08:24] # Filerscript 'CIDRBAN' by someone Loaded
[17:08:24] #				     #
[17:08:24] ######################################

[17:08:24]   Loading filterscript 'xmas.amx'...
[17:08:24]   Loaded 3 filterscripts.

[17:08:24]  
[17:08:24]  
[17:08:24]  
[17:08:24]  ======================================= 
[17:08:24]  |                                     | 
[17:08:24]  |        YSI version 3.09.0684        | 
[17:08:24]  |        By Alex "Y_Less" Cole        | 
[17:08:24]  |                                     | 
[17:08:24]  ======================================= 
[17:08:24]  
[17:08:24] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
[17:08:24] Loading Vehicles
[17:08:24] (27) Loaded! Owner: 28
[17:08:24] (28) Loaded! Owner: 28
[17:08:24] (29) Loaded! Owner: 152
[17:08:24] (30) Loaded! Owner: 1
[17:08:24] (31) Loaded! Owner: 3
[17:08:24] 
-----------------------------------
[17:08:24] CNRSF (v2.17) PinEvil Loaded
[17:08:24] ------------------------------------

[17:08:24] Number of vehicle models: 95
Ahmadd is offline   Reply With Quote
Old 07/07/2018, 01:28 PM   #2
NinjaChicken
Huge Clucker
 
NinjaChicken's Avatar
 
Join Date: Dec 2011
Posts: 466
Reputation: 22
Default Re: Another time need help lol

Quote:
[MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
Access is being denied, are you sure theirs not password set for the "root" account? Also is the database name correct
__________________
Crap that made me Giggle and Shit
Quote:
Originally Posted by Eminem 2ka9 View Post
My players walk like they pissed themselves, how do I set it to a normal walk style where they actually run fast and not like benders?
Quote:
Originally Posted by justsomeguy View Post
Did I just saw a prisoner with a goddamn katana? How did he smuggle that in!? Did he just shove that katana up his anus?
Owner and Operator Of www.nl-gaming.net

NinjaChicken is offline   Reply With Quote
Old 07/07/2018, 01:33 PM   #3
Ahmadd
Big Clucker
 
Join Date: May 2018
Posts: 48
Reputation: 0
Default Re: Another time need help lol

Quote:
Originally Posted by NinjaChicken View Post
Access is being denied, are you sure theirs not password set for the "root" account? Also is the database name correct
Yea, both are correct.
Ahmadd is offline   Reply With Quote
Old 07/07/2018, 01:48 PM   #4
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,916
Reputation: 256
Default Re: Another time need help lol

What's your mysql plyugin version?
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 07/07/2018, 01:52 PM   #5
Ahmadd
Big Clucker
 
Join Date: May 2018
Posts: 48
Reputation: 0
Default Re: Another time need help lol

Quote:
Originally Posted by Dayrion View Post
What's your mysql plyugin version?
MySQL Plugin v2.1.1

PS: I'm using windows 64-bit
Ahmadd is offline   Reply With Quote
Old 07/07/2018, 02:12 PM   #6
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,916
Reputation: 256
Default Re: Another time need help lol

Quote:
Originally Posted by Ahmadd View Post
MySQL Plugin v2.1.1

PS: I'm using windows 64-bit
You should use MySQL plugin by pBlueG since I dont even know by who has been made your plugin and what syntax have this function.
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 07/07/2018, 02:14 PM   #7
Ahmadd
Big Clucker
 
Join Date: May 2018
Posts: 48
Reputation: 0
Default Re: Another time need help lol

Quote:
Originally Posted by Dayrion View Post
You should use MySQL plugin by pBlueG since I dont even know by who has been made your plugin and what syntax have this function.
Which version i should use?
Ahmadd is offline   Reply With Quote
Old 07/07/2018, 02:21 PM   #8
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,916
Reputation: 256
Default Re: Another time need help lol

Quote:
Originally Posted by Ahmadd View Post
Which version i should use?
The last one, obviously. You have to update your gamemode too.
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 07/07/2018, 02:21 PM   #9
Ahmadd
Big Clucker
 
Join Date: May 2018
Posts: 48
Reputation: 0
Default Re: Another time need help lol

Quote:
Originally Posted by Dayrion View Post
You should use MySQL plugin by pBlueG since I dont even know by who has been made your plugin and what syntax have this function.
lol now im facing another problem after changing mysql plugin. I

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

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

[18:08:46] 
[18:08:46] Server Plugins
[18:08:46] --------------
[18:08:46]  Loading plugin: mysql
[18:08:46]   Failed.
[18:08:46]  Loading plugin: sscanf
[18:08:46] 

[18:08:46]  ===============================

[18:08:46]       sscanf plugin loaded.     

[18:08:46]          Version:  2.8.1        

[18:08:46]    (c) 2012 Alex "Y_Less" Cole  

[18:08:46]  ===============================

[18:08:46]   Loaded.
[18:08:46]  Loading plugin: streamer
[18:08:46] 

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

[18:08:46]   Loaded.
[18:08:46]  Loading plugin: regex
[18:08:46] 


[18:08:46] ______________________________________


[18:08:46]  Regular Expression Plugin v0.2.1 loaded
[18:08:46] ______________________________________


[18:08:46]  By: Fro (c) Copyright <TBG> 2009-2011
[18:08:46] ______________________________________


[18:08:46]   Loaded.
[18:08:46]  Loaded 3 plugins.

[18:08:46] 
[18:08:46] Filterscripts
[18:08:46] ---------------
[18:08:46]   Loading filterscript 'gps.amx'...
[18:08:46] 
--------------------------------------
[18:08:46] GPS System Loaded
[18:08:46] 0, -2438.551025, 741.183044, 35.107868, Supa Save
[18:08:46] 1, -1795.019897, 576.496948, 35.166793, VIP Lounge
[18:08:46] 2, -1927.602294, 261.575897, 40.718589, Vehicle Dealership
[18:08:46] 3, -2621.093017, 217.150161, 4.283658, Ammunation
[18:08:46] 4, -2632.546142, 619.860168, 14.132818, Hospital
[18:08:46] 5, -1890.214599, 813.722656, 35.422653, Job Center
[18:08:46] 6, -1777.782958, 1201.687133, 24.803468, Bomb Shop
[18:08:46] 7, -1566.389892, 1170.356201, 7.187500, Mini-Games
[18:08:46] 8, -1508.060424, 923.515014, 6.869043, San Fierro Bank
[18:08:46] GPS System Loaded...
[18:08:46] --------------------------------------

[18:08:46]   Loading filterscript 'cidrban.amx'...
[18:08:46] 
######################################
[18:08:46] #				     #
[18:08:46] # Filerscript 'CIDRBAN' by someone Loaded
[18:08:46] #				     #
[18:08:46] ######################################

[18:08:46]   Loading filterscript 'xmas.amx'...
[18:08:46]   Loaded 3 filterscripts.

[18:08:46] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[18:08:46] Number of vehicle models: 0
I tried R39-2, R39-5, R41-1
Ahmadd is offline   Reply With Quote
Old 07/07/2018, 02:23 PM   #10
Ahmadd
Big Clucker
 
Join Date: May 2018
Posts: 48
Reputation: 0
Default Re: Another time need help lol

Quote:
Originally Posted by Dayrion View Post
The last one, obviously. You have to update your gamemode too.
How? What to update more, please explain in details, would be really thankful.
Ahmadd is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Convert Unix time (Timestamp) to Normal time in Pawn mrsh Tutorials 2 15/09/2016 12:53 PM
how make date and time for last login time for user kinggta Scripting Help 3 17/06/2014 01:27 AM
How to make when player type command one time to enable, second time to disable ? bustern Scripting Help 3 04/09/2013 08:35 AM


All times are GMT. The time now is 08:59 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.