mysql problem! wont compile
#1

hey im getting an error. I did include a_mysql and did use the plugin in server.cfg...
i tested on both linux and windows and get this errors





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

SA-MP Dedicated Server
----------------------
v0.3a R8, ©2005-2010 SA-MP Team

[16:28:06] filterscripts = "" (string)
[16:28:06]
[16:28:06] Server Plugins
[16:28:06] --------------
[16:28:06] Loading plugin: mysql
[16:28:15] Failed.
[16:28:15] Loaded 0 plugins.

[16:28:16]
[16:28:16] Filter Scripts
[16:28:16] ---------------
[16:28:16] Loaded 0 filter scripts.

[16:28:17] Script[gamemodes/codops.amx]: Run time error 19: "File or function is not found"
[16:28:17] Number of vehicle models: 0
[16:28:21] --- Server Shutting Down.
Reply
#2

Your missing a File, are you sure you have all Plugins?

Quote:

[16:07:34] Loaded 0 plugins.

Reply
#3

post updated sorry


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

SA-MP Dedicated Server
----------------------
v0.3a R8, ©2005-2010 SA-MP Team

[16:28:06] filterscripts = "" (string)
[16:28:06]
[16:28:06] Server Plugins
[16:28:06] --------------
[16:28:06] Loading plugin: mysql
[16:28:15] Failed.
[16:28:15] Loaded 0 plugins.

[16:28:16]
[16:28:16] Filter Scripts
[16:28:16] ---------------
[16:28:16] Loaded 0 filter scripts.

[16:28:17] Script[gamemodes/codops.amx]: Run time error 19: "File or function is not found"
[16:28:17] Number of vehicle models: 0
[16:28:21] --- Server Shutting Down.
Reply
#4

Read the error. Your script is using a function that the server does not recognise. You say that you've loaded mysql in the server.cfg and that is correct, however it is failing to load. A common cause of this with the mysql plugin is a missing libmysql.dll in the server root. Lines of interest are highlighed in bold below.

Quote:
Originally Posted by Saurik
Посмотреть сообщение
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3a R8, ©2005-2010 SA-MP Team

[16:28:06] filterscripts = "" (string)
[16:28:06]
[16:28:06] Server Plugins
[16:28:06] --------------
[16:28:06] Loading plugin: mysql
[16:28:15] Failed.

[16:28:15] Loaded 0 plugins.

[16:28:16]
[16:28:16] Filter Scripts
[16:28:16] ---------------
[16:28:16] Loaded 0 filter scripts.

[16:28:17] Script[gamemodes/codops.amx]: Run time error 19: "File or function is not found"
[16:28:17] Number of vehicle models: 0
[16:28:21] --- Server Shutting Down.
Reply
#5

yes it does pop out and say that im missing libmysql.dll , i added it in plugins.... so what now? reinstall something, cause it says i should
Reply
#6

Don't add it in the plugins folder, libmysql.dll needs to be in the same directory as the samp-server executable.
Reply
#7

but what about linux.... same happens on linux server
Reply
#8

If you're using a Linux server then you'll need to use the Linux versions of the plugins - ending in .so
Reply
#9

yes i did use .so and the same error returns


i did include it in server.cfg
Reply
#10

If it's Linux, you need 'plugins mysql.so' and not 'plugins mysql'
Be sure it's compiled for your server OS too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)