where do you run database scripts/where are DBs 'located'?

John Salerno johnjsal at NOSPAMgmail.com
Fri May 12 11:48:21 EDT 2006


CatDude wrote:
> On Fri, 12 May 2006 14:01:51 +0000, John Salerno wrote:
> 
>> Ok, I've been browsing through the MySQLdb docs, and I *think* I know 
>> the kind of code I need to write (connect, cursor, manipulate data, 
>> commmit, etc. -- although I probably need to get more familiar with 
>> actual SQL commands too), but here's my problem: I don't know where 
>> these scripts are supposed to be executed, or how they are supposed to 
>> 'find' the database.
> 
> I'm kind of a noob myself, but I'll see if I can't offer some useful info
> anyhow.

Thanks very much for the info! I'll give the 'localhost' a try again and 
see if I was creating problems elsewhere, perhaps with the commands 
themselves. (All I know for sure is that I created a MySQL database and 
filled it with baseball statistics, so I know *that* exists, at least! 
But it was created from the MySQL prompt itself, not using Python.)

I'll also read over those links, they seem like the kind of thing I need 
to really get going with it. :)



More information about the Python-list mailing list