•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 456,564 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,584 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 672 | Replies: 0
![]() |
•
•
Join Date: Oct 2007
Posts: 15
Reputation:
Rep Power: 2
Solved Threads: 0
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 works. I now have a small cgi script, the values from the user are taken and inserted in the database. When this script is called with a click of a button, the throws the error page, saying
"
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@renderunit-19 and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
"
Is it possible to have the connect work thru a script just as it works thru a python shell.
BRgds,
kNish
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 works. I now have a small cgi script, the values from the user are taken and inserted in the database. When this script is called with a click of a button, the throws the error page, saying
"
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@renderunit-19 and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
"
Is it possible to have the connect work thru a script just as it works thru a python shell.
BRgds,
kNish
![]() |
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertising blog browser browsing community company competition data design development domains firefox google html india intel internet legal linux marketing math microsoft mobile applications monetization mozilla multimedia navigation news php privacy report research rss search security seo sex software standards sun survey technology video w3c web web development webmaster wiki xml yahoo
- PHP testing server no syntax error just blank web page (PHP)
- Mysql Error (MySQL)
- IE; Getting file download box when attempting to access a particular web page (Web Browsers)
- "Error message 580 when debugging a web page" (ASP.NET)
- Error message when posting Web page into Word (Windows Software)
- unable to load windows update web page (Viruses, Spyware and other Nasties)
- Invision Power Board mysql error when trying to view newly created forums (PHP)
- Unable to open web page (Web Browsers)
Other Threads in the MySQL Forum
- Previous Thread: Putting in action different rows in stored procedure
- Next Thread: mysql search and display data help....


Linear Mode