Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: lonsoft on May 13, 2012, 10:42:21 AM

Title: How to install MySQLDB?
Post by: lonsoft on May 13, 2012, 10:42:21 AM
Is there a step by step guide?

thank you!
Title: Re: How to install MySQLDB?
Post by: Rich on May 13, 2012, 11:25:59 AM
Hi lonsoft
Open AppBrowser, click connect, scroll down to  mysql.tcz, click on it, and click Go.
Title: Re: How to install MySQLDB?
Post by: lonsoft on May 14, 2012, 10:26:43 AM
thanks for your reply.

I would like to connect a mysql server with python script, any suggestions?
Title: Re: How to install MySQLDB?
Post by: bmarkus on May 14, 2012, 10:33:11 AM
thanks for your reply.

I would like to connect a mysql server with python script, any suggestions?

As far as I see PyMySQL or other MySQL client is not available in TC repo.

Without knowing your application I'm using Sqlite3 with many of my own Python applications where an SQL database required.
Title: Re: How to install MySQLDB?
Post by: Rich on May 14, 2012, 10:44:03 AM
Hi lonsoft
The two python/sqlite3 packages I see are  sqlalchemy.tcz  and  pysqlite2.tcz. Maybe there is
something in them you can adapt for your purpose.
Title: Re: How to install MySQLDB?
Post by: bmarkus on May 14, 2012, 10:59:35 AM
Hi lonsoft
The two python/sqlite3 packages I see are  sqlalchemy.tcz  and  pysqlite2.tcz. Maybe there is
something in them you can adapt for your purpose.

???

Python is already there in the repo. pysqlite2 is an obsolate useles package, forget it as well as sqlalchemy. sqlite3 is a dependency of python.

If yo want sqlite3, just install python.tcz and forget any other tools. Except a text editor.