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 »

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 478 times
dbaccess-0.21alpha.rar
dbaccess package
(6.04 KiB) Downloaded 468 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 »

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: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Access MySQL from POL!

Post by Yukiko »

What's boring about your great packages?
Keep releasing!
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: Access MySQL from POL!

Post by MuadDib »

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

Now for someone to create an XML package ;)
Terciob
Master Poster
Posts: 90
Joined: Fri Nov 07, 2008 3:47 am

Re: Access MySQL from POL!

Post by Terciob »

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 »

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 »

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