Mysql problem
#1

I open the server on windows(work)and on linux give me this errror
Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[06:41:03] 
[06:41:03] Server Plugins
[06:41:03] --------------
[06:41:03]  Loading plugin: mysql.so
[06:41:03] 

  > MySQL plugin R7 successfully loaded.

[06:41:03]   Loaded.
[06:41:03]  Loading plugin: sscanf.so
[06:41:03] 

[06:41:03]  ===============================

[06:41:03]       sscanf plugin loaded.     

[06:41:03]          Version:  2.8.1        

[06:41:03]    © 2012 Alex "******" Cole  

[06:41:03]  ===============================

[06:41:03]   Loaded.
[06:41:03]  Loading plugin: streamer.so
[06:41:03] 

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

[06:41:03]   Loaded.
[06:41:03]  Loading plugin: Whirlpool.so
[06:41:03]  
[06:41:03]  ==================
[06:41:03]  
[06:41:03]   Whirlpool loaded
[06:41:03]  
[06:41:03]  ==================
[06:41:03]  
[06:41:03]   Loaded.
[06:41:03]  Loading plugin: nativechecker.so
[06:41:03]   Loaded.
[06:41:03]  Loaded 5 plugins.

[06:41:03] 
[06:41:03] Ban list
[06:41:03] --------
[06:41:03]  Loaded: samp.ban
[06:41:03] 
[06:41:03] 
[06:41:03] Filterscripts
[06:41:03] ---------------
[06:41:03]   Loading filterscript 'anti-spam.amx'...
[06:41:03] 
---------------------------------------------------------------
[06:41:03]  Anti Spam Flood | Creation date: 01.12.2012 | Autor: Johnny |
[06:41:03] ---------------------------------------------------------------

[06:41:03]   Loading filterscript 'anti-flood.amx'...
[06:41:03]   Loading filterscript 'basket.amx'...
[06:41:03]   Loading filterscript 'anticbug.amx'...
[06:41:03] 
--------------------------------------
[06:41:03]  Anti C-BUG Activated.
[06:41:03] --------------------------------------

[06:41:03]   Loaded 5 filterscripts.

[06:41:03]    Error: Function not registered: 'mysql_query'
[06:41:03] Script[gamemodes/idrp.amx]: Run time error 19: "File or function is not found"
[06:41:03] Number of vehicle models: 0
I install the native checker for checks.Please help me
Reply
#2

Since you use MySQL R7, use mysql_function_query instead and use threaded queries.
Reply
#3

I do not understand
Reply
#4

The R7 version of the mysql plugin does not have mysql_query as Zues stated above. You need to change your mysql_query callbacks to mysql_query_callback or change your plugin back to R6. If you want to change your script to mysql_query_callback, you might want to look at some tutorials around the forums.
Reply
#5

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

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[07:58:21] 
[07:58:21] Server Plugins
[07:58:21] --------------
[07:58:21]  Loading plugin: mysql.so
[07:58:21]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[07:58:21]  Loading plugin: sscanf.so
[07:58:21] 

[07:58:21]  ===============================

[07:58:21]       sscanf plugin loaded.     

[07:58:21]          Version:  2.8.1        

[07:58:21]    © 2012 Alex "******" Cole  

[07:58:21]  ===============================

[07:58:21]   Loaded.
[07:58:21]  Loading plugin: streamer.so
[07:58:21] 

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

[07:58:21]   Loaded.
[07:58:21]  Loading plugin: Whirlpool.so
[07:58:21]  
[07:58:21]  ==================
[07:58:21]  
[07:58:21]   Whirlpool loaded
[07:58:21]  
[07:58:21]  ==================
[07:58:21]  
[07:58:21]   Loaded.
[07:58:21]  Loading plugin: nativechecker.so
[07:58:21]   Loaded.
[07:58:21]  Loaded 4 plugins.

[07:58:21] 
[07:58:21] Ban list
[07:58:21] --------
[07:58:21]  Loaded: samp.ban
[07:58:21] 
[07:58:21] 
[07:58:21] Filterscripts
[07:58:21] ---------------
[07:58:21]   Loading filterscript 'anti-spam.amx'...
[07:58:21] 
---------------------------------------------------------------
[07:58:21]  Anti Spam Flood | Creation date: 01.12.2012 | Autor: DMC |
[07:58:21] ---------------------------------------------------------------

[07:58:21]   Loading filterscript 'anti-flood.amx'...
[07:58:21]   Loading filterscript 'anti-boot.amx'...
[07:58:21]   Unable to load filterscript 'anti-boot.amx'.
[07:58:21]   Loading filterscript 'vae.amx'...
[07:58:21]   Loading filterscript 'basket.amx'...
[07:58:21]   Loading filterscript 'anticbug.amx'...
[07:58:21] 
--------------------------------------
[07:58:21]  Anti C-BUG Activated.
[07:58:21] --------------------------------------

[07:58:21]   Loaded 5 filterscripts.

[07:58:21]    Error: Function not registered: 'mysql_connect'
[07:58:21]    Error: Function not registered: 'mysql_query'
[07:58:21]    Error: Function not registered: 'mysql_store_result'
[07:58:21]    Error: Function not registered: 'mysql_fetch_row_format'
[07:58:21]    Error: Function not registered: 'mysql_ping'
[07:58:21]    Error: Function not registered: 'mysql_reconnect'
[07:58:21]    Error: Function not registered: 'mysql_real_escape_string'
[07:58:21]    Error: Function not registered: 'mysql_num_rows'
[07:58:21]    Error: Function not registered: 'mysql_fetch_field_row'
[07:58:21]    Error: Function not registered: 'mysql_free_result'
[07:58:21]    Error: Function not registered: 'mysql_close'
[07:58:21]    Error: Function not registered: 'mysql_debug'
[07:58:21] Script[gamemodes/idrp.amx]: Run time error 19: "File or function is not found"
[07:58:21] Number of vehicle models: 0
Reply
#6

http://forum.sa-mp.com/showpost.php?...06&postcount=4
Reply
#7

On host no?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)