Author Topic: Python 2.3 & Mysqldb Module  (Read 6608 times)

dixie

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.dixienet.it
Python 2.3 & Mysqldb Module
« on: February 08, 2005, 05:08:11 pm »
Hi at all, just like title.
Where can I found the mysql module for zaurus?

Any suggestion will be appreciated.

Paolo
SL6000L Sharp Rom Ver. 1.12
Asus WiFi WL110
Ambicom Bluetooth BT2000-CF
Billionton CF Ethernet 10Base Card
SD 1 Gb pq1
CF 512 Mb 40x pq1
Palm IR keiboard
Navman Bluetooth GPS

soundwave106

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Python 2.3 & Mysqldb Module
« Reply #1 on: February 10, 2005, 12:26:26 am »
Looks like there is one here.

SQLite is also available on most feeds.

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Python 2.3 & Mysqldb Module
« Reply #2 on: February 10, 2005, 07:49:23 am »
To use MySQL with Python on the Zaurus you need two things: a MySQL database server and the pymysql module for Python. I'm not sure which you're looking for. Soundwave's post will get you to a version of the MySQL server that runs on the Zaurus. You also have the option of connecting via a network to a MySQL server running on another system.

For the pymsql module, you'll need to get one that matches your version of Python. My Python 2.4 image for Sharp ROMs (I really need a short catchy name for that beast  ) already includes pymysql. If you're using the "Python for ARM-Linux" packages from www.vanille.de, I suspect there is a pymysql package in their feeds (however the site is "offline" right now as it appears they're preparing to release Python 2.4 packages). If you're using some other version of Python for the Zaurus, good luck ... you'll need to talk the maintainer into building and releasing a matching pymysql module.

dixie

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.dixienet.it
Python 2.3 & Mysqldb Module
« Reply #3 on: February 10, 2005, 12:25:54 pm »
Quote
For the pymsql module, you'll need to get one that matches your version of Python. My Python 2.4 image for Sharp ROMs (I really need a short catchy name for that beast  ) already includes pymysql. If you're using the "Python for ARM-Linux" packages from www.vanille.de, I suspect there is a pymysql package in their feeds (however the site is "offline" right now as it appears they're preparing to release Python 2.4 packages). If you're using some other version of Python for the Zaurus, good luck ... you'll need to talk the maintainer into building and releasing a matching pymysql module.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66420\"][{POST_SNAPBACK}][/a][/div]

Tks, I'use Python 2.3.
I'll trying to use your new version.
The command is "import pymysql" I suppose?

Tks a lot

Paolo
SL6000L Sharp Rom Ver. 1.12
Asus WiFi WL110
Ambicom Bluetooth BT2000-CF
Billionton CF Ethernet 10Base Card
SD 1 Gb pq1
CF 512 Mb 40x pq1
Palm IR keiboard
Navman Bluetooth GPS

gtJormungand

  • Newbie
  • *
  • Posts: 38
    • View Profile
Python 2.3 & Mysqldb Module
« Reply #4 on: May 12, 2005, 07:11:02 pm »
I think it's "import MySQLdb"

phunkhy

  • Newbie
  • *
  • Posts: 25
    • View Profile
Python 2.3 & Mysqldb Module
« Reply #5 on: May 27, 2005, 09:25:51 am »
I was also searching for it very much. Finally I found it on the unstable feed of pdaXrom:

http://www.pdaxrom.org/ipk_feed.php?menuid=11#qlP
Hardware: SL-C860, 1GB SD card, Anycom Bluetooth, Netgear WiFi, SonyEricsson K610i, Tatonka neoprene soft case (10 € !!!),  Otterbox hard case for outdoors (up to 500 kg pressure, waterproof <= 30 m), misc stuff from shirtpocket.co.uk.
Software: pdaXrom 1.1.0 beta 1, xfce, opie-reader, moin moin, txt2tags, soundtracker, SCiTE, python hacking, GPE apps
Usage: Moving in and around Berlin, Germany. It's used mainly for reading articles and ebooks, mobile internet, writing documents (wiki, word, txt2tags), calendar, time tracking, mp3, movies for my daughter during long trips and a little programming (python, ruby)