By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,899 Members | 1,230 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,899 IT Pros & Developers. It's quick & easy.

Not able to connect MySQL Database in Python?

P: 1
I am using this command to connect MySQL Database in Python but not able to do the, Can any suggest me the best tutorials, is hackr.io is providing the best tutorials or not learning MySQL?
>>> conn=MySQLdb.connect(host='localhost',user='root', passwd='')

The error which I am Getting:
OperationalError
Oct 29 '18 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.