WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to install MySQLDB?  (Read 2803 times)

Offline lonsoft

  • Newbie
  • *
  • Posts: 4
How to install MySQLDB?
« on: May 13, 2012, 10:42:21 AM »
Is there a step by step guide?

thank you!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11514
Re: How to install MySQLDB?
« Reply #1 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.

Offline lonsoft

  • Newbie
  • *
  • Posts: 4
Re: How to install MySQLDB?
« Reply #2 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?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to install MySQLDB?
« Reply #3 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11514
Re: How to install MySQLDB?
« Reply #4 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to install MySQLDB?
« Reply #5 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.



Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."