Help with sql and python

C

catalinfest

Hello !

I have accont on myphpadmin on my server.
I want to create one script in python.
This script manage sql task from my sql server .
How i make this in a simple way ?

Thank you !
 
P

Piet van Oostrum

cc> Hello !
cc> I have accont on myphpadmin on my server.
cc> I want to create one script in python.
cc> This script manage sql task from my sql server .
cc> How i make this in a simple way ?

See http://mysql-python.sourceforge.net/MySQLdb.html

This really has nothing to do with myphpadmin (you probably mean
phpMyAdmin but even then it has nothing to do with it except that both
acess a MySQL database).

And if you give yourself a name than we might have an idea if we are
talking to a human being or a robot.
 
D

Dave Angel

Hello !

I have accont on myphpadmin on my server.
I want to create one script in python.
This script manage sql task from my sql server .
How i make this in a simple way ?

Thank you !
It's seldom simple.

I'm guessing it's not your server, but is actually a webserver, located
remotely, and to which you have only ftp access.

Next questions are do you have access to the admins of the machine, what
kind of machine is it, what OS is it running, does it have Python
installed, what version(s)?

Next questions are dependent on the answers to those questions. For
example, on Unix systems you'll generally need to be able to chmod the file.

But before you ask your admins those questions, you need to ask how you
*want* to run the script. Creating it isn't enough, if you don't run
it. You might be running it over the web, via URL, perhaps using CGI.
You might be activating it via some remote console, or rsh. Or it might
be a cron job. It might need various privileges to do what you expect.
And if it's going to run continuously, or if it uses lots of resources,
the admins may refuse it entirely.

DaveA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,652
Latest member
Campbellamy

Latest Threads

Top