MySQL

All other Source.Python topics and issues.
User avatar
mister-man
Member
Posts: 70
Joined: Wed Aug 29, 2012 7:09 pm
Location: Germany

MySQL

Postby mister-man » Thu Dec 06, 2012 9:31 am

Hi,

is there a native support for MySQL? I try to rewrite my plugins from ES to SP but I used my little db tool (smartDB) in ES. And in lib I found only keyvalues....
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Thu Dec 06, 2012 10:21 am

download and use pymysql
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
User avatar
mister-man
Member
Posts: 70
Joined: Wed Aug 29, 2012 7:09 pm
Location: Germany

Postby mister-man » Thu Dec 06, 2012 10:56 am

Okay, same as ES...
User avatar
Mahi
Senior Member
Posts: 236
Joined: Wed Aug 29, 2012 8:39 pm
Location: Finland

Postby Mahi » Thu Dec 06, 2012 12:46 pm

You an always create your own script, which saves and loads data from a file.
You might find keyword stream useful if you decide to do so.
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Thu Dec 20, 2012 11:43 pm

Btw here is a working pymysql version for python 3. just unzip in _engines/site-packages
Attachments
pymysql.zip
(49.35 KiB) Downloaded 337 times
Libraries: k2tools

Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)

Plugins (game-specific): None atm



If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 126 guests