MySQL Forums
Forum List  »  Connector/Python

Bad magic number
Posted by: Ananka Fastner
Date: May 07, 2022 03:53AM

Hi, This is Dhaval from Ananka Fasteners
I installed a mysql database with the python connector but when I'm trying to test if the connector works with "import mysql.connector" I'm getting the following error: ImportError: bad magic number in 'mysql': b'T\r\r\n'

Options: ReplyQuote

Written By
Bad magic number
May 07, 2022 03:53AM
July 14, 2022 10:18AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.