MySQL Forums
Forum List  »  Connector/Python

Bad magic number
Posted by: Fourtysixty Host
Date: May 05, 2022 01:15AM

Hi, This is Rohan from F60 Host
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 05, 2022 01:15AM
May 05, 2022 09:42AM

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.