python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Error creating table in MYSQL using Python
I am trying to create a MySQL table using python but it keeps giving me this error: Error while connecting to MySQL 1064 (42000): You have an error in your SQL syntax; check the manual that correspond...
Shully
Votes: 0
Answers: 1
None type object has no attribute "tosql"
df.to_sql('newcmc', con = engine, if_exists='append',index = False)
While running the above code it is showing None type object has no attribute "to_sql"
Aparna Yadav
Votes: 0
Answers: 1
My objective is to use user defined values in the sql query
if result == datetime.datetime.now():
print('book will be avilable today..')
ask5 = input('Do you want to issue this book? yes/no: ')
if ask5 == 'yes':
issue()
...
Soul
Votes: 0
Answers: 0
Always getting this kinda error... 'mysql.connector.errors.InternalError: Unread result found'
" I'm working on a little project which connnects MYSQL and PYTHON.
If I succeed in this then one can use the whole MYSQL server via PYTHON!
** But the thing is that I get raised by mysql.connect...
SARATHY B
Votes: 0
Answers: 1