Access MySQL from POL!

Post your Custom Scripts or Packages.

Moderator: POL Developer

Post Reply
andenix
New User
Posts: 19
Joined: Thu Nov 06, 2008 8:39 am

Access MySQL from POL!

Post by andenix » Thu Nov 27, 2008 12:44 am

I promised to release dbaccess package which enables a limited communication with MySQL databse
from eScript which I wrote recently.
Unfortunately I can only give a very little support for this script, because of an absence of free time.

It mainly consists of dbaccess package which is an AUX interface, and a dbproxy, which forwards your requests back and forth to the DB.

- Currently it only supports MySQL (tested with 5.x.x).

The proxy is written in python, so you have to have python http://www.python.org/download/ and MySQL-python package installed. (can be downloaded here http://sourceforge.net/project/showfile ... e_id=15775.

* This package requires Python 2.5.x to run!! *

I hope that you would find this package useful.

PS: be sure to read reame.txt included in the archive.

PSS: I added a multithreaded version of the package with experimental multilingual support.
Attachments
dbaccess-22b-rc2.zip
dbaccess v22b (multithreaded, multiligual)
(9.69 KiB) Downloaded 238 times
dbaccess-0.21alpha.rar
dbaccess package
(6.04 KiB) Downloaded 200 times
Last edited by andenix on Fri Feb 06, 2009 12:44 am, edited 3 times in total.

andenix
New User
Posts: 19
Joined: Thu Nov 06, 2008 8:39 am

Re: Access MySQL from POL!

Post by andenix » Tue Jan 20, 2009 3:06 am

I am almost sorry for being boring, but I actually plan on releasing a new version of this package, with multitasking support.

Yukiko
Distro Developer
Posts: 2482
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Access MySQL from POL!

Post by Yukiko » Fri Jan 23, 2009 1:25 am

What's boring about your great packages?
Keep releasing!
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

User avatar
MuadDib
POL Expert
Posts: 1087
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: Access MySQL from POL!

Post by MuadDib » Sun Jan 25, 2009 8:59 am

It's great to see stuff like this coming forward, honestly.

Now for someone to create an XML package ;)
POL Developer - The Penguin Scripter

Terciob
Master Poster
Posts: 90
Joined: Fri Nov 07, 2008 3:47 am

Re: Access MySQL from POL!

Post by Terciob » Mon Mar 02, 2009 7:48 am

Good Job!!
I'am using this on a Live shard and works fine.

However, we got a trouble: when pol restart (e.g after crash), python script must be re-open manually.
Will be a great stuff if python script stay trying recconect after lose connection with pol aux.
Thanks.

Terciob
Master Poster
Posts: 90
Joined: Fri Nov 07, 2008 3:47 am

Re: Access MySQL from POL!

Post by Terciob » Sat Oct 29, 2011 8:19 am

The files are corrupted, anyone still have this packpage? I need it.

User avatar
andenixa
Grandmaster Poster
Posts: 105
Joined: Tue Nov 09, 2010 1:33 am

Re: Access MySQL from POL!

Post by andenixa » Mon Nov 21, 2011 8:00 am

I know it got corrupted and I couldn't find the sources as well.

You could try another one:

http://forums.polserver.com/viewtopic.php?f=1&t=3396

Though admittedly it did not enjoy the most comprehensive testing.

Post Reply