On 15/08/2012 14:30, nepaul wrote:
The code:
import MySQLDB
strCmd = "user = 'root', passwd = '123456', db = 'test', host = 'localhost'"

_mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host 'user = 
'root', passwd = '123456', db = 'test', host = 'localhost'' (11004)")


My highly paid team of consultants suggest that you're trying to connect to a MySQL server host that doesn't exist. However I'm sure that people on this list with more knowledge of MySQLDB than my consultants will be able to give you more detailed data.

--
Cheers.

Mark Lawrence.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to