Error MySQL
#1

Hola, Forum SA:MP, bueno tenia un problema que mi GM mysql no funcionaba, entonces instale el nativechecker para poder ver cual era el error pero me da esto...
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[03:11:38] mapname = "San Andreas"  (string)
[03:11:38] filterscripts = ""  (string)
[03:11:38] password = ""  (string)
[03:11:38] maxnpc = 0  (int)
[03:11:38] 
[03:11:38] Server Plugins
[03:11:38] --------------
[03:11:38]  Loading plugin: mysql.so
[03:11:38]  SA:MP MySQL Plugin v2.1.1 Loaded.
[03:11:38]   Loaded.
[03:11:38]  Loading plugin: sscanf.so
[03:11:38] 

[03:11:38]  ===============================

[03:11:38]       sscanf plugin loaded.     

[03:11:38]    © 2009 Alex "******" Cole

[03:11:38]    0.3d-R2 500 Players "dnee"

[03:11:38]  ===============================

[03:11:38]   Loaded.
[03:11:38]  Loading plugin: Whirlpool.so
[03:11:38]  
[03:11:38]  ==================
[03:11:38]  
[03:11:38]   Whirlpool loaded
[03:11:38]  
[03:11:38]  ==================
[03:11:38]  
[03:11:38]   Loaded.
[03:11:38]  Loaded 3 plugins.

[03:11:38] [MySQL] Thread running. Threadsafe: Yes.
[03:11:38] 
[03:11:38] Ban list
[03:11:38] --------
[03:11:38]  Loaded: samp.ban
[03:11:38] 
[03:11:38] 
[03:11:38] Filterscripts
[03:11:38] ---------------
[03:11:38]   Loaded 0 filterscripts.

[03:11:38]    Error: Function not registered: 'mysql_query'
[03:11:38] Script[gamemodes/zsMySQL.amx]: Run time error 19: "File or function is not found"
[03:11:38] Number of vehicle models: 0
Tengo la ultima version de mysql.inc y el plugin de MySQL, porque me sale esto?
Gracias de antemano.
Reply
#2

Actualiza todos los plugins de nuevo, porque segъn se ve tenes uno de la 0.3d-R2, capas el de MySQL tambiйn es viejo.
Reply
#3

Quote:
Originally Posted by [J]ulian
Посмотреть сообщение
Actualiza todos los plugins de nuevo, porque segъn se ve tenes uno de la 0.3d-R2, capas el de MySQL tambiйn es viejo.
Ya los actualize todos a las ultimas versiones, pero el mysql.inc lo deje en la R6 porque quitan la funcion mysql_query en R7, entonces sale error en el script, pero cuando pongo la R5,R6 no me salen error en el script pero en el server_log.
Ya estoy preocupado de este error.
Reply
#4

Seсor usted estб utilizando el plugin MySQL de Strinkenkid, debe utilizar el de BlueG R6.

Las versiones del plugin MySQL de BlueG a partir de la R7 las consultas se realizan mediante roscado y por lo tanto scripts hechos para la R5 y R6 no son compatibles. Aunque usted compile con el MySQL.inc de la R5 у R6 no funcionarб ya que el nativo mysql_query no estб en el plugin.

PD: Utilize la versiуn R6.

Un saludo.
Reply
#5

Quote:
Originally Posted by oOFotherOo
Посмотреть сообщение
Seсor usted estб utilizando el plugin MySQL de Strinkenkid, debe utilizar el de BlueG R6.

Las versiones del plugin MySQL de BlueG a partir de la R7 las consultas se realizan mediante roscado y por lo tanto scripts hechos para la R5 y R6 no son compatibles. Aunque usted compile con el MySQL.inc de la R5 у R6 no funcionarб ya que el nativo mysql_query no estб en el plugin.

PD: Utilize la versiуn R6.

Un saludo.
Ahora me salen mas errores...
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[22:58:47] mapname = "San Andreas"  (string)
[22:58:47] filterscripts = ""  (string)
[22:58:47] password = ""  (string)
[22:58:47] maxnpc = 0  (int)
[22:58:47] 
[22:58:47] Server Plugins
[22:58:47] --------------
[22:58:47]  Loading plugin: mysql.so
[22:58:47]   Failed (plugins/mysql.so: cannot open shared object file: No such file or directory)
[22:58:47]  Loading plugin: sscanf.so
[22:58:47] 

[22:58:47]  ===============================

[22:58:47]       sscanf plugin loaded.     

[22:58:47]          Version:  2.8.1        

[22:58:47]    © 2012 Alex "******" Cole  

[22:58:47]  ===============================

[22:58:47]   Loaded.
[22:58:47]  Loading plugin: Whirlpool.so
[22:58:47]  
[22:58:47]  ==================
[22:58:47]  
[22:58:47]   Whirlpool loaded
[22:58:47]  
[22:58:47]  ==================
[22:58:47]  
[22:58:47]   Loaded.
[22:58:47]  Loading plugin: nativechecker.so
[22:58:47]   Loaded.
[22:58:47]  Loaded 3 plugins.

[22:58:47] 
[22:58:47] Ban list
[22:58:47] --------
[22:58:47]  Loaded: samp.ban
[22:58:47] 
[22:58:47] 
[22:58:47] Filterscripts
[22:58:47] ---------------
[22:58:47]   Loaded 0 filterscripts.

[22:58:47]    Error: Function not registered: 'mysql_connect'
[22:58:47]    Error: Function not registered: 'mysql_debug'
[22:58:47]    Error: Function not registered: 'mysql_real_escape_string'
[22:58:47]    Error: Function not registered: 'mysql_query'
[22:58:47]    Error: Function not registered: 'mysql_store_result'
[22:58:47]    Error: Function not registered: 'mysql_num_rows'
[22:58:47]    Error: Function not registered: 'mysql_free_result'
[22:58:47]    Error: Function not registered: 'mysql_retrieve_row'
[22:58:47]    Error: Function not registered: 'mysql_fetch_field_row'
[22:58:47]    Error: Function not registered: 'mysql_fetch_row_format'
[22:58:47] Script[gamemodes/zsMySQL.amx]: Run time error 19: "File or function is not found"
[22:58:47] Number of vehicle models: 0
el mysql.so esta en la carpeta plugins, pero no lo lee
Reply
#6

Quote:
Originally Posted by art123
Посмотреть сообщение
Ahora me salen mas errores...
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[22:58:47] mapname = "San Andreas"  (string)
[22:58:47] filterscripts = ""  (string)
[22:58:47] password = ""  (string)
[22:58:47] maxnpc = 0  (int)
[22:58:47] 
[22:58:47] Server Plugins
[22:58:47] --------------
[22:58:47]  Loading plugin: mysql.so
[22:58:47]   Failed (plugins/mysql.so: cannot open shared object file: No such file or directory)
[22:58:47]  Loading plugin: sscanf.so
[22:58:47] 

[22:58:47]  ===============================

[22:58:47]       sscanf plugin loaded.     

[22:58:47]          Version:  2.8.1        

[22:58:47]    © 2012 Alex "******" Cole  

[22:58:47]  ===============================

[22:58:47]   Loaded.
[22:58:47]  Loading plugin: Whirlpool.so
[22:58:47]  
[22:58:47]  ==================
[22:58:47]  
[22:58:47]   Whirlpool loaded
[22:58:47]  
[22:58:47]  ==================
[22:58:47]  
[22:58:47]   Loaded.
[22:58:47]  Loading plugin: nativechecker.so
[22:58:47]   Loaded.
[22:58:47]  Loaded 3 plugins.

[22:58:47] 
[22:58:47] Ban list
[22:58:47] --------
[22:58:47]  Loaded: samp.ban
[22:58:47] 
[22:58:47] 
[22:58:47] Filterscripts
[22:58:47] ---------------
[22:58:47]   Loaded 0 filterscripts.

[22:58:47]    Error: Function not registered: 'mysql_connect'
[22:58:47]    Error: Function not registered: 'mysql_debug'
[22:58:47]    Error: Function not registered: 'mysql_real_escape_string'
[22:58:47]    Error: Function not registered: 'mysql_query'
[22:58:47]    Error: Function not registered: 'mysql_store_result'
[22:58:47]    Error: Function not registered: 'mysql_num_rows'
[22:58:47]    Error: Function not registered: 'mysql_free_result'
[22:58:47]    Error: Function not registered: 'mysql_retrieve_row'
[22:58:47]    Error: Function not registered: 'mysql_fetch_field_row'
[22:58:47]    Error: Function not registered: 'mysql_fetch_row_format'
[22:58:47] Script[gamemodes/zsMySQL.amx]: Run time error 19: "File or function is not found"
[22:58:47] Number of vehicle models: 0
el mysql.so esta en la carpeta plugins, pero no lo lee
Controla que el plugin este en su carpeta y tenga el mismo nombre que en server.cfg
Reply
#7

Ya funciono, el problema es que sin querer le puse "mysql .so" sin las comillas pero con el espacio, por eso no lo leia, muchas gracias a todos los que ayudaron.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)