Function not registred
#1

Hey got some problems with MySQL i tried everything but nothing helps got some ideas?

Quote:

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

[19:15:13] filterscripts = "" (string)
[19:15:13]
[19:15:13] Server Plugins
[19:15:13] --------------
[19:15:13] Loading plugin: nativechecker
[19:15:13] Loaded.
[19:15:13] Loading plugin: Whirlpool
[19:15:13]
[19:15:13] ==================
[19:15:13]
[19:15:13] Whirlpool loaded
[19:15:13]
[19:15:13] ==================
[19:15:13]
[19:15:13] Loaded.
[19:15:13] Loaded 2 plugins.

[19:15:13]
[19:15:13] Filterscripts
[19:15:13] ---------------
[19:15:13] Loaded 0 filterscripts.

[19:15:13] Error: Function not registered: 'mysql_ping'
[19:15:13] Error: Function not registered: 'mysql_connect'
[19:15:13] Error: Function not registered: 'mysql_query'
[19:15:13] Error: Function not registered: 'mysql_debug'
[19:15:13] Error: Function not registered: 'mysql_store_result'
[19:15:13] Error: Function not registered: 'mysql_num_rows'
[19:15:13] Error: Function not registered: 'mysql_free_result'
[19:15:13] Error: Function not registered: 'mysql_fetch_row_format'
[19:15:13] Error: Function not registered: 'mysql_fetch_field_row'
[19:15:13] Script[gamemodes/trucksim.amx]: Run time error 19: "File or function is not found"
[19:15:13] Number of vehicle models: 0

Reply
#2

Make sure you have the latest version of mysql.dll and mysql.inc

and on top of your script add

PHP код:
#include <a_mysql> 
Reply
#3

Where can get lastest mysql?
yep an i hawe #include <a_mysql> on top of script
Reply
#4

Click this:

http://files.g-stylezzz.com/mysql/re...-win32_vs9.rar
Reply
#5

https://github.com/pBlueG/SA-MP-MySQL/releases
Reply
#6

still got error on server startup. pawno shows that all is compile
Reply
#7

Do you have libmysql.dll on your plugins?
Reply
#8

yep got it i uploded to mega all my server https://mega.nz/#F!MV4RSRoY!9iNP_QXfM8Kphpg1sCeg-g
Reply
#9

Quote:
Originally Posted by ChristolisTV
Посмотреть сообщение
Do you have libmysql.dll on your plugins?
Also ensure you've got the plugin loaded by the server.
Reply
#10

Now got that

Quote:

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

[20:18:13] filterscripts = "" (string)
[20:18:13]
[20:18:13] Server Plugins
[20:18:13] --------------
[20:18:13] Loading plugin: nativechecker
[20:18:13] Loaded.
[20:18:13] Loading plugin: Whirlpool
[20:18:13]
[20:18:13] ==================
[20:18:13]
[20:18:13] Whirlpool loaded
[20:18:13]
[20:18:13] ==================
[20:18:13]
[20:18:13] Loaded.
[20:18:13] Loading plugin: mysql
[20:18:13]

> MySQL plugin R5 successfully loaded.

[20:18:13] Loaded.
[20:18:13] Loading plugin: crashdetect
[20:18:13] CrashDetect v4.12 is OK.
[20:18:13] Loaded.
[20:18:13] Loading plugin: sscanf
[20:18:13]

[20:18:13] ===============================

[20:18:13] sscanf plugin loaded.

[20:18:13] Version: 2.8.1

[20:18:13] © 2012 Alex "******" Cole

[20:18:13] ===============================

[20:18:13] Loaded.
[20:18:13] Loaded 5 plugins.

[20:18:13]
[20:18:13] Filterscripts
[20:18:13] ---------------
[20:18:13] Loaded 0 filterscripts.

[20:18:13] Error: Function not registered: 'mysql_ping'
[20:18:13] Error: Function not registered: 'mysql_connect'
[20:18:13] Error: Function not registered: 'mysql_query'
[20:18:13] Error: Function not registered: 'mysql_debug'
[20:18:13] Error: Function not registered: 'mysql_store_result'
[20:18:13] Error: Function not registered: 'mysql_num_rows'
[20:18:13] Error: Function not registered: 'mysql_free_result'
[20:18:13] Error: Function not registered: 'mysql_fetch_row_format'
[20:18:13] Error: Function not registered: 'mysql_fetch_field_row'
[20:18:13] mysql_ Ping: 0
[20:18:13] mysql_ Connect to the server.
[20:18:15] mysql_ Connection error, retrying...
[20:18:20] --------------------------------------
[20:18:20] Number of vehicle models: 3
[20:18:20] New version of CrashDetect is available for download (4.13)

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)