LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Running mysql-python interface (https://www.linuxquestions.org/questions/linux-software-2/running-mysql-python-interface-847533/)

userunfriendly 11-30-2010 05:32 PM

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

paulsm4 11-30-2010 07:59 PM

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/

userunfriendly 11-30-2010 09:50 PM

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?

paulsm4 11-30-2010 11:01 PM

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

wolsonjr 12-01-2010 02:04 PM

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.

userunfriendly 12-01-2010 05:51 PM

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.

userunfriendly 12-01-2010 06:36 PM

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.


All times are GMT -5. The time now is 11:09 AM.