I can see mysql client libs using apt-cache search, but I cant find a python Mysql module.
Anyone interfacing mysql with python on maemo?
I want to make a simple query-application giving me
telephonenumbers stored in a mysql-db. May
be clicking a button to dial them or transfer them
to N900 addressbook.
Here what i did to get it running. (If i remember right)
# downloaded and installed python setuptools
# downloaded mysql 5.0.x (scratchbox)
# compiled the mysql client:
./configure --prefix=/usr/local/mysql --without-server
make
make install
copied and symlinked the needed stuff. If i remember right i symlinked libmysqlclient*, mysql, mysqldump and mysql_config
# downloaded python-mysql from sourceforge (scratchbox)
# build it
python2.5 setup.py build --build-base=/home/roose/MySQL-python-1.2.3c1/build
cd /home/roose/MySQL-python-1.2.3c1/build/lib.linux-armv5tel-2.5/
tar cvf MySQLdb.tar *
# unpacked MySQLdb.tar to my device (/usr/lib/python2.5/site-packages/)
Anyone interfacing mysql with python on maemo?
I want to make a simple query-application giving me
telephonenumbers stored in a mysql-db. May
be clicking a button to dial them or transfer them
to N900 addressbook.