Re: help with this simple DB script

2006-05-17 Thread John Salerno
Dennis Lee Bieber wrote: > Out of curiosity, which SQL reference listed "number" as a data > type? I was taking the sqlcourse.com tutorial yesterday, and it shows it here: http://sqlcourse.com/create.html All the interactive examples in the tutorial seem to work with number(). But after

Re: help with this simple DB script

2006-05-16 Thread John Salerno
John Salerno wrote: > Ok, before I contact my server host, I figured I should make sure I'm > not just making a Python mistake. I get an Internal Server Error with > this script: Ok, got some help from Dennis Bieber and he solved it. I was using number(), which is a SQL but not a MySQL command.

Re: help with this simple DB script

2006-05-16 Thread John Salerno
BartlebyScrivener wrote: > Are you able to connect to the DB using MySQL administrator? > Yes, through my hosting control panel. That's how I created the DB, but I want to try to do everything else with mysqldb. -- http://mail.python.org/mailman/listinfo/python-list

Re: help with this simple DB script

2006-05-16 Thread John Salerno
[EMAIL PROTECTED] wrote: > This is probably causing a problem: > !#/usr/bin/python > > It should be "#!", not "!#". Ugh! So stupid! Thanks for correcting that, but it wasn't the only problem. > If that doesnt' work, add this line at the top of your script, to check > that the script is begin exe

Re: help with this simple DB script

2006-05-16 Thread trebucket
This is probably causing a problem: !#/usr/bin/python It should be "#!", not "!#". If that doesnt' work, add this line at the top of your script, to check that the script is begin executed: print "Content-Type: text/html\n\n" print "Hello, World!" If you still get an Internal Server Error put t

Re: help with this simple DB script

2006-05-16 Thread John Machin
Please learn to provide needed information when asking questions. 1. What does "run it directly with my URL" mean?? 2. Show the traceback that you got. -- http://mail.python.org/mailman/listinfo/python-list

Re: help with this simple DB script

2006-05-16 Thread BartlebyScrivener
Are you able to connect to the DB using MySQL administrator? -- http://mail.python.org/mailman/listinfo/python-list