SA-MP Forums Archive
Windows Root - MYSQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Windows Root - MYSQL (/showthread.php?tid=227058)



Windows Root - MYSQL - Jony_King - 16.02.2011

Dear guys,

i have a problem running my script on my new root server.
Windows is the system (64-bit).
Everything works fine on my home pc. The MYSQL plugin failed to load.
pawn Код:
SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team

[22:05:45]
[22:05:45] Server Plugins
[22:05:45] --------------
[22:05:45]  Loading plugin: mysql.so
[22:05:49]   Failed.
[22:05:49]  Loaded 0 plugins.

[22:05:49]
[22:05:49] Filter Scripts
[22:05:49] ---------------
[22:05:49]   Loaded 0 filter scripts.

[22:05:49] Script[gamemodes/irp.amx]: Run time error 19: "File or function is not found"
[22:05:49] Number of vehicle models: 0
Can you please help me?


Re: Windows Root - MYSQL - BlackWolf120 - 16.02.2011

if your servers system is windows u must use only mysql instead of mysql.so
mysql.so is for linux only.


Re: Windows Root - MYSQL - Jony_King - 16.02.2011

I know, I just tested it with .so, because somebody say it.


Re: Windows Root - MYSQL - Cypress - 16.02.2011

Your plugin version seems to be for linux. Try to get the same plugin with dll format for windows.

plugin.so = linux
plugin.dll = windows


Re: Windows Root - MYSQL - Jony_King - 16.02.2011

I have the right plugins. That is not the problem.


Re: Windows Root - MYSQL - Marricio - 16.02.2011

The server cant find the 'irp.amx' file, so better check if you have it, or compile the .pwn, also if you have errors on the .pwn file (compile errors) the .amx file wont create/update.


Re: Windows Root - MYSQL - Ash. - 16.02.2011

Hmm...

Latest .net framework installed?


Re: Windows Root - MYSQL - Jony_King - 16.02.2011

Yes, of course.


Re: Windows Root - MYSQL - Cypress - 16.02.2011

Quote:
Originally Posted by Jony_King
Посмотреть сообщение
I have the right plugins. That is not the problem.
Go to the mysql plugin and read how to install it corectly. If you have the right plugins, why do you load the linux if ur using windows?
Go to ur server.cfg and go to the plugins line and correct it from mysql.so to mysql. Make sure you have the mysql.dll into ur plugins folder. And make sure you have this folder.


Re: Windows Root - MYSQL - Jony_King - 16.02.2011

pawn Код:
SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team

[22:28:30]
[22:28:30] Server Plugins
[22:28:30] --------------
[22:28:30]  Loading plugin: mysql
[22:28:30]   Failed.
[22:28:30]  Loaded 0 plugins.

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

[22:28:30] Script[gamemodes/irp.amx]: Run time error 19: "File or function is not found"
[22:28:30] Number of vehicle models: 0
Please read what I wrote.
I just tried it with linux one.