LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-30-2010, 05:32 PM   #1
userunfriendly
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Rep: Reputation: 0
Running mysql-python interface


Hi

I just took a class on sql, unfortunately, it was Windows-centric, which means I have to figure out how to do stuff in Redhat by myself.

By installing mysql via yum and then running pirut, I find there is an interface type program called MySQL-python-1.2.1-1.x86_64 so I installed it but I'll be danged if I can find any information on how to actually run the thing.

What is the command to start MySQL-python-1.2.1-1.x86_64?

TIA

UU
 
Old 11-30-2010, 07:59 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

There's nothing to "start". It sounds like you've got a "library" that lets you use MySQL from a Python program.

I presume you're familiar with both Python and MySQL (just not on Linux).

Here are a few links that might point you in the right direction:

http://mysql-python.sourceforge.net/

http://www.kitebird.com/articles/pydbapi.html

http://dev.mysql.com/usingmysql/python/
 
Old 11-30-2010, 09:50 PM   #3
userunfriendly
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Oh, okay, thank you.

I thought it was an actual interface that might do things like create code like the windows program we used in class.

Dang.

Is there anything that makes mysql easy to use like the windows program?
 
Old 11-30-2010, 11:01 PM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
C'mon - what could be easier than the "mysql" command interpreter?

SUGGESTION:
You might want to look at MySql Workbench. I suspect that might have been the GUI you were using under Windows; it's also available for Linux.

'Hope that helps
 
Old 12-01-2010, 02:04 PM   #5
wolsonjr
LQ Newbie
 
Registered: Aug 2007
Location: IL/US
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 24

Rep: Reputation: 6
other solutions

I would also suggest MySQL Administrator, MySQL Naviagator, and MySQL Query Browser. I do most of my work in Query Browser. For a good understanding, though, you can't beat initially working on the command line, before going to an interface.
 
Old 12-01-2010, 05:51 PM   #6
userunfriendly
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the advice, unfortunately the text book I am working from does everything from an interface and it is a rather easy textbook to understand, which is rare enough. I don't have much interest in winnowing through man files and what-not that are not organized to my immediate needs. I'm not really planning on being an sql programmer, just using it as a tool where it is most appropriate for my work.

Be well.
 
Old 12-01-2010, 06:36 PM   #7
userunfriendly
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Well, there are a ton of dependencies for mysql-workbench. Maybe I can get something that works through wine. I really don't want to increase my knowlege through reading tons of man files and searching and searching dependencies. I have a problem I thought mysql could solve but I am beginning to see that it might be worthless.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL python installation chinmayee Linux - Software 2 02-13-2008 03:36 AM
smart gui - support for gtk python interface rioch Linux - Software 2 06-25-2006 03:43 PM
How can I enter php interface like "python[enter]" in python backpacker Linux - Software 1 06-20-2005 08:38 PM
Python IDLE Interface Odd_Bloke Linux - Software 4 08-26-2003 02:58 PM
bsddb3-3.0(python interface to db3) princessnattie General 0 05-31-2001 02:00 PM


All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration