kNish wrote:
>
> Hi,
>
> After trouble shooting error 10061, 1130, 1045 and 1044.
> Finally, the following code works in a python shell.
>
> import MySQLdb
> import MySQLdb.cursors
> conn = MySQLdb.connect(host="ENG-3", user = "Any", passwd = "", db =
> "daily", cursorclass=MySQLdb
Yes it should work from a script just as well from the shell, but with this
info we cannot say whats wrong ..
If you follow the suggestion: what does the server error log say?
One possible cause for such an error is that you haven't sent the http
headers correctly
On 10/25/07, kNish <[EMAIL PR
Hi,
After trouble shooting error 10061, 1130, 1045 and 1044. Finally,
the following code works in a python shell.
import MySQLdb
import MySQLdb.cursors
conn = MySQLdb.connect(host="ENG-3", user = "Any", passwd = "", db =
"daily", cursorclass=MySQLdb.cursors.DictCursor)
user='root' also