mysql - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql (
/showthread.php?tid=599057)
mysql -
radiobizza - 20.01.2016
why i can't start my server ?
this is my server_log.txt
PHP код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[15:46:43]
[15:46:43] Server Plugins
[15:46:43] --------------
[15:46:43] Loading plugin: nativechecker
[15:46:43] Loaded.
[15:46:43] Loading plugin: mysql
[15:46:43] >> plugin.mysql: R39-4 successfully loaded.
[15:46:43] Loaded.
[15:46:43] Loaded 2 plugins.
[15:46:43]
[15:46:43] Filterscripts
[15:46:43] ---------------
[15:46:43] Loaded 0 filterscripts.
[15:46:43] Error: Function not registered: 'mysql_connect'
[15:46:43] Error: Function not registered: 'mysql_errno'
[15:46:43] Error: Function not registered: 'mysql_log'
[15:46:43] Error: Function not registered: 'mysql_close'
[15:46:43] Error: Function not registered: 'mysql_format'
[15:46:43] Error: Function not registered: 'mysql_tquery'
[15:46:43] Error: Function not registered: 'cache_get_data'
[15:46:43] Error: Function not registered: 'cache_get_field_content'
[15:46:43] Error: Function not registered: 'mysql_query'
[15:46:43] Error: Function not registered: 'mysql_escape_string'
[15:46:43] [MYSQL]: Connection to database (w3op) failed!
[15:46:43]
[15:46:43]
[15:46:43] RPG: v0.2 Beta LS-LV-SF
[15:46:43] _____________________
[15:46:43] Number of vehicle models: 1
[15:46:43] --- Server Shutting Down.
[15:46:43] plugin.mysql: Unloading plugin...
[15:46:43] plugin.mysql: Plugin unloaded.
and this is my server.cfg
PHP код:
echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 gm 1
plugins nativechecker mysql
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
I REP+ WHO HELP ME WITH THIS PROBLEM
Re: mysql -
shourya12 - 20.01.2016
wrong plugin version (mysql)
try different version of mysql
Re: mysql -
radiobizza - 20.01.2016
can you give me ?
Re: mysql -
Vince - 20.01.2016
Load nativechecker last.
Re: mysql -
radiobizza - 20.01.2016
Quote:
Originally Posted by Vince
Load nativechecker last.
|
now this is the server_log.txt
PHP код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[17:00:07]
[17:00:07] Server Plugins
[17:00:07] --------------
[17:00:07] Loading plugin: mysql
[17:00:07]
> MySQL plugin R7 successfully loaded.
[17:00:07] Loaded.
[17:00:07] Loading plugin: nativechecker
[17:00:07] Loaded.
[17:00:07] Loaded 2 plugins.
[17:00:07] I couldn't load any gamemode scripts. Please verify your server.cfg
[17:00:07] It needs a gamemode0 line at the very least.
Re: mysql -
radiobizza - 20.01.2016
yep

bump. no one help me
Re: mysql -
N0FeaR - 20.01.2016
Off topic Just a reminder you're not allowed to bump a thread u must wait 24 hours before u do that.
In topic seems like you have wrong verison of mysql plugin and include.
Re: mysql -
radiobizza - 20.01.2016
I tried from r5 to r7.. what can I do?
Re: mysql -
Prokill911 - 20.01.2016
Silly question BUT.
1, Are you compiling your script with R7
And then PUTTING the R7 Plugin in?
2, Are you compiling with R5 and using the R7 plugin
To me that looks like you have outdated code in your source
All you've done is thrown the new SQL into your #include and not edited the calls in the script
Re: mysql -
radiobizza - 20.01.2016
can you give me an example please ?