Thank you so much. This video is old and I ran into some bugs trying your method, but I managed to figure them out. Leaving this comment here in case I have to come back to it on a different computer. For the IDLE app: At about 2:53, you say to type "pip install mysql-connector", and unfortunately at the time of this comment, this is depreciated. Instead use "pip install mysql-connector-python". At 4:15 I noticed you did a ninja edit where you changed the "mydb = sql.connector" line to "mydb = sql.connect" and this is important. Finally, I was confused because I had multiple Python versions installed. 3.9, 3.10 and 3.11 (I know bad practice on my part). Make sure you are using the same version for both pip install and IDLE shell. For Jupyter Notebook: I ran into another error when I tried to run the mydb command, which was "mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported". To solve this, I created a cell and ran "pip install mysql-connector-python" prior to trying it again.
@aminatyusuff6921
Жыл бұрын
You are beautifully blessed. You can't imagine how you just saved me from giving up when I'd barely started. 😊
@HammerHead129
11 ай бұрын
@@aminatyusuff6921 Thank you. Word of advice for whenever you run into bugs when programming: Try copying and googling the exact text of the error message. More likely than not, you'll find a solution on stackoverflow. You may have to do some trial and error.
@Ankurkumar14680
3 жыл бұрын
Very informative....thanks a lot for sharing :)
@kunalrajput8855
29 күн бұрын
Thanks bro lot of video I watched but you did it
@biswajitdutta762
Жыл бұрын
Thank you. Great video 😊
@sheikhshahbaz2848
3 жыл бұрын
I was in trouble as how to connect to mysql . But this video resolves it . These commands really work . Thankyou Shabbir for this awesome video....
@shabbirgovernor
3 жыл бұрын
Glad to help mate!🙂
@parthivdas5383
2 жыл бұрын
@@shabbirgovernor sir I have a problem actually while writing the code in idle Here attribute error is being shown that mysp.connctor has no attribute connector how to fix this
@thecanvas3834
Жыл бұрын
thank you so much mate
@AnalystInMaking
2 ай бұрын
Thank you ❤
@pranaypv6872
Жыл бұрын
Scripts -showing the system cannot find path
@sresthasvlog6043
3 жыл бұрын
Many Many Thanks.... This video solved my problem. Thanks a lot.
@shabbirgovernor
3 жыл бұрын
🙂
@JULIUS_215
Жыл бұрын
after writing cd Scripts it still shows the system cannot find the path specified... what am I supposed to do now?
@tearap2009
Жыл бұрын
same here :(
@ArjunSingh33196
3 жыл бұрын
tagri
@thegbfolks
11 ай бұрын
In my case it is showing connection refused error. Please help me how to resolve this issue.
@user-eh4xk7ze1n
2 жыл бұрын
3:09 how i can open thes pega
@manikantasai721
Жыл бұрын
I tried with : pip install mysql-connector-python it worked ..
@priyankaballa4052
3 жыл бұрын
I am getting this error... Authentication plugin 'caching_sha2_password' is not supported when trying to create a connection between jupyter notebook and mysql.... Kindly guide how to resolve
@relaxnest8461
Жыл бұрын
I am getting the same error, did you ever resolve it, plz tell me how if you did.
@ankurr5803
3 жыл бұрын
😢 ERROR :No module named 'mysql.connector'
@shabbirgovernor
3 жыл бұрын
pip install it
@ankurr5803
3 жыл бұрын
@@shabbirgovernor It is already installed. 😶
@nextdoortechieaminfirnash6002
2 жыл бұрын
Thanks Bro for the video. Do more videos like this.
@shabbirgovernor
2 жыл бұрын
Sure
@sakshamsingh4699
3 жыл бұрын
Mysql is connected toh jupyter but when i am using import mysql.connector in shell its showing module not found
@m38jazzsilver
3 жыл бұрын
The same here @Saksham
@sakshamsingh4699
3 жыл бұрын
@@m38jazzsilver oh i found the solution to it...u just need to uninstall anaconda and python from ur pc then install python again but this tine add it to your PATH then download the module...it worked for me hope ur problem get solved Ohh and u can reinstall conda after it if needed
@lavishsehgal5318
2 жыл бұрын
it's showing no module named mysql and I have already installed the pip
Пікірлер: 36