mysql problem! wont compile -
Saurik - 13.07.2010
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.
Re: mysql problem! wont compile -
alpha500delta - 13.07.2010
Your missing a File, are you sure you have all Plugins?
Quote:
[16:07:34] Loaded 0 plugins.
|
Re: mysql problem! wont compile -
Saurik - 13.07.2010
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.
Re: mysql problem! wont compile -
KingJ - 13.07.2010
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.
|
Re: mysql problem! wont compile -
Saurik - 13.07.2010
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
Re: mysql problem! wont compile -
KingJ - 13.07.2010
Don't add it in the plugins folder, libmysql.dll needs to be in the same directory as the samp-server executable.
Re: mysql problem! wont compile -
Saurik - 13.07.2010
but what about linux.... same happens on linux server
Re: mysql problem! wont compile -
KingJ - 13.07.2010
If you're using a Linux server then you'll need to use the Linux versions of the plugins - ending in .so
Re: mysql problem! wont compile -
Saurik - 13.07.2010
yes i did use .so and the same error returns
i did include it in server.cfg
Re: mysql problem! wont compile -
Woet - 13.07.2010
If it's Linux, you need 'plugins mysql.so' and not 'plugins mysql'
Be sure it's compiled for your server OS too.