mysql on Slackware - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: mysql on Slackware (
/showthread.php?tid=57336)
mysql on Slackware -
FlashInTheNighT - 06.12.2008
Hello everyone,
I have a samp server running moderntopia mod. Well, I have a problem. My server configuration is a dual core with 4 gb ddr2. When I run my server and clients are connecting, the samp mysql is "eating" all the resources and after one hour, the server crashes (the host too, no more resources to use), then I have to turn on the server by pushing the turn on button .. Even if the clients are quitting, the memory is still in use. I have a Slackware distribution of Linux and I belive (actually I'm sure) that the lybraries from the samp mysql are not compatible with this operating system. I guess I shall compile them for slackware, but I don't know if it is possible to do. Does someone else have this problem also? A possible way to resolv this?
If someone have a solution for this, please leave a message. Thank you!
Re: mysql on Slackware -
[M]deLux - 07.12.2008
i saw there is another samp-mysql plugin available, try if this ones gives you the same experiences
Re: mysql on Slackware -
FlashInTheNighT - 07.12.2008
Which plugin? I use v013. Can you give me a link to download please?
Re: mysql on Slackware -
[M]deLux - 07.12.2008
i suppose you installed the basic mysql server properly on your system, so i hardly believe thats causing the error, as this evironement has been tested with far more queries than your server.
so you might want to find out, if its the samp-mysql plugin, which causes this.
there are two available in the script showroom:
http://forum.sa-mp.com/index.php?topic=23931.0
http://forum.sa-mp.com/index.php?topic=79352.0
just try out the one which you arent using at the moment
Re: mysql on Slackware -
FlashInTheNighT - 08.12.2008
how to compile plugin in linux ? it give me a lot of errors
make
gcc -gcc -Wall -fPIC -c main.cpp -DLINUX -I../SDK/amx ../SDK/amx/*.c
cc1plus: error: unrecognised debug output level "cc"
cc1: error: unrecognised debug output level "cc"
make: *** [all] Error 1
Re: mysql on Slackware -
Linky - 10.12.2008
bump
Re: mysql on Slackware -
[M]deLux - 10.12.2008
you ever compiled something on linux?
if yes, search for the libraries required or ask for them in the plugin's thread
if no, just forget it, it isnt that easy