Connect Mysql Database using Python Tutorial | MySQL server and Workbench 2024

  Рет қаралды 14,859

United Top Tech

United Top Tech

Күн бұрын

Пікірлер: 103
@user-jb9ed6pv8e
@user-jb9ed6pv8e 4 ай бұрын
Sir, I'm using Windows 10 32-bit. I tried to install mySQL 5.7, like the video in 04:06 it only showed MySQL Server and Documentation, I'm not getting Applications. Do you perhaps know why did it happened?
@unitedtoptech6288
@unitedtoptech6288 4 ай бұрын
Why do you want to install the older version?
@user-jb9ed6pv8e
@user-jb9ed6pv8e 4 ай бұрын
@@unitedtoptech6288 because the newer version (MySQL 8. ) is not working on Windows 32-bit, Sir
@unitedtoptech6288
@unitedtoptech6288 4 ай бұрын
Got it sir, can you try a bit newer version? 5.7 is too low
@Aravinthravi-mc9nh
@Aravinthravi-mc9nh 6 ай бұрын
(Pip is not recognized as an internal or external command ,operable program or batch file.). I got the error how to solve this error in command prompt
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
You did not add the python scripts path in environment variable or check the checkbox when installing python
@niranjanapr6696
@niranjanapr6696 Ай бұрын
How to do that​@@unitedtoptech6288
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
C:\Users\\AppData\Local\Programs\Python\Python38-32\Scripts , modify this and this in your environmental variable under path
@SwatiKathuriaGDGGS
@SwatiKathuriaGDGGS Ай бұрын
Thanks alot for your help. Wonderful learning. Could build a successful connection. Thanks again
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
You are welcome!
@rishiksahu2007
@rishiksahu2007 5 ай бұрын
It's still showing the error👇🏻 Traceback (most recent call last): File "C:/Users/Rishik/Documents/Python Programs/Python connectivity.py", line 1, in import mysql.connector ModuleNotFoundError: No module named 'mysql'
@unitedtoptech6288
@unitedtoptech6288 5 ай бұрын
Did you pip install the packages?
@sahildhabu7515
@sahildhabu7515 4 ай бұрын
Yes i did install the pip packages
@unitedtoptech6288
@unitedtoptech6288 4 ай бұрын
so what error you got?
@addyakumari7840
@addyakumari7840 2 ай бұрын
Hey, I did save my sql in environment variable but then to I'm getting in the command prompt that it is not recognized as an internal or external command. Please help me.
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
Did you restart your cmd prompt?
@addyakumari7840
@addyakumari7840 2 ай бұрын
@@unitedtoptech6288 Yep!
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
then you have added the wrong path
@addyakumari7840
@addyakumari7840 2 ай бұрын
@@unitedtoptech6288 Alright I'll check again, Thanks for replying.
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
cool
@SheebaY-q3b
@SheebaY-q3b 29 күн бұрын
Really helpful. very very thanks sir.
@unitedtoptech6288
@unitedtoptech6288 29 күн бұрын
Happy to help
@Harshika__C
@Harshika__C 6 ай бұрын
Sir when I am visiting environment system variable everything is looking same as your computer but when I am clicking on edit path the same screen or the option of adding a new path is not appearing. Instead there is option for editing just one path,the one I clicked Please help sir i need to do a school project
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
Can you try in user variable path? if system is not working
@dilansarith2188
@dilansarith2188 5 ай бұрын
super explanation. Thank you very much
@unitedtoptech6288
@unitedtoptech6288 5 ай бұрын
Thanks man
@rimachakraborty1458
@rimachakraborty1458 3 ай бұрын
Really Helpful , thank You so much
@unitedtoptech6288
@unitedtoptech6288 3 ай бұрын
You're welcome!
@Just_A_Tech.._
@Just_A_Tech.._ Жыл бұрын
Good work, thanks.🤝👍
@unitedtoptech6288
@unitedtoptech6288 Жыл бұрын
Welcome!!
@official_bqpro
@official_bqpro Ай бұрын
Thank you. You really helped a lot ❤❤
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
You're welcome 😊
@SheebaY-q3b
@SheebaY-q3b Ай бұрын
Inside the folder mysql server8.0, bin folder is not there. What want to do?
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
Ig you only installed workbench without mysql server, pls try reinstalling
@MrDheeraj777
@MrDheeraj777 2 ай бұрын
'python--version' is not recognized as an internal or external command, operable program or batch file. what should i doo
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
You need have space, python --version
@MOHAMEDFOWAZMMSEC
@MOHAMEDFOWAZMMSEC 6 ай бұрын
at 17.00 im not getting the dropdown option in tables
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
To the left in the same tab you will be having schemas, click that your database and table will be visible
@MOHAMEDFOWAZMMSEC
@MOHAMEDFOWAZMMSEC 6 ай бұрын
@@unitedtoptech6288 yes sir I got it, I have a problem with my python connection with my SQL with SQL alchemy error to do hotel food order system, could u help
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
Can you paste the whole error?
@MOHAMEDFOWAZMMSEC
@MOHAMEDFOWAZMMSEC 6 ай бұрын
I got it sir, tnx
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
Cool sir
@Pari-gb7wo
@Pari-gb7wo 2 ай бұрын
'mysql--version' is not recognized as an internal or external command, operable program or batch file. this is coming what should i do sir!!!
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
did you have space between mysql and --version when running the cmd?
@Kixishiva
@Kixishiva 5 ай бұрын
This is not working for me what should I do?? 'mysql' is not recognized as an internal or external command, operable program or batch file.
@unitedtoptech6288
@unitedtoptech6288 5 ай бұрын
you need to add mysql server bin path in environment variable
@Mahalakshmi-jr4di
@Mahalakshmi-jr4di 20 күн бұрын
​@@unitedtoptech6288sir I did that yet it's not working
@unitedtoptech6288
@unitedtoptech6288 20 күн бұрын
you need to restart cmd too after adding and check the path too
@mahtha-e3q
@mahtha-e3q 5 ай бұрын
when I go to service to set it up as automatic, MYSQL80 doesn't show up.
@unitedtoptech6288
@unitedtoptech6288 5 ай бұрын
Do you have mysql in your services or not?
@sudhirdutt1
@sudhirdutt1 5 ай бұрын
sir the command prompt is not showing the database"newname" in it but it is showing all the other things. What should I do?
@sudhirdutt1
@sudhirdutt1 5 ай бұрын
and when I am running it on python it is showing this error: ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package
@unitedtoptech6288
@unitedtoptech6288 5 ай бұрын
Command prompt? at what timestamp do you face this?
@sudhirdutt1
@sudhirdutt1 5 ай бұрын
@@unitedtoptech6288 13:10
@sudhirdutt1
@sudhirdutt1 5 ай бұрын
at 13:10
@unitedtoptech6288
@unitedtoptech6288 5 ай бұрын
Did you pip install the packages?
@KanilPatel
@KanilPatel 21 күн бұрын
Its says that Kernel is dead, any of you know why this might be happening and can give solution for the same,Thanks.
@unitedtoptech6288
@unitedtoptech6288 20 күн бұрын
can you pls paste the whole error?
@MRBULLSEYE3454
@MRBULLSEYE3454 8 күн бұрын
mysql is still not connecting with python ,after i run this code it shows only " -----restart:shell-----" . please help
@unitedtoptech6288
@unitedtoptech6288 8 күн бұрын
did the table get created in database? do you get any error logs?
@kennethdarby899
@kennethdarby899 3 ай бұрын
Great video...I typed the mysql query the same way you did but I am getting programming error: 1064 (42000)
@unitedtoptech6288
@unitedtoptech6288 3 ай бұрын
it says some issue with syntax, can you pls check?
@kennethdarby899
@kennethdarby899 3 ай бұрын
@@unitedtoptech6288 yes, I was missing a comma. Thank you for replying. I will subscribe
@unitedtoptech6288
@unitedtoptech6288 3 ай бұрын
Most welcome!!
@RLingeshwaran-r3g
@RLingeshwaran-r3g 4 ай бұрын
Sir for me there was folder named bin was present help pls
@unitedtoptech6288
@unitedtoptech6288 4 ай бұрын
In mysql?
@lekhashri3558
@lekhashri3558 9 ай бұрын
Am doing my mini project using vscodes but i am working with only frontend which is html,js,css.. but i need database for that.. and now with the help of ur video i connected MySQL with python but now how can i connect this with my vscode?
@unitedtoptech6288
@unitedtoptech6288 9 ай бұрын
So you want a way to get data from your frontend which I assume has input boxes in the UI and they need to be then stored in mysql DB with the help of python?
@MOHAMEDFOWAZMMSEC
@MOHAMEDFOWAZMMSEC 6 ай бұрын
@@unitedtoptech6288 yes sir it showed, now i m doing a hotel food order project with python and my SQL in workbench where I'm getting SQL alchemy error where I installed it and tried many ways where it is not working, could you help
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
Can you please paste the whole error sir?
@bluepixel-nr2rh
@bluepixel-nr2rh 2 ай бұрын
when i do print(con) i am not getting any error or output.why?
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
Can you pls paste the code?
@palkisachdeva8246
@palkisachdeva8246 2 ай бұрын
sameeeeeeee
@palkisachdeva8246
@palkisachdeva8246 2 ай бұрын
it is showing no output no error just the program is terminating
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
paste the code man
@SK-oe5fs
@SK-oe5fs Ай бұрын
@@unitedtoptech6288 it dosent show any output or error it just isnt giving any output after i hit run, the shell opens n thats all i can onlly see my cursor blinking n nothing coming this is the code i ran :- import mysql.connector con=mysql.connector.connect(host='localhost',user='root',passwd='root') print(con)
@Pb_insane
@Pb_insane Ай бұрын
sir when i run the codding in pythhon it shows ===== RESTART: C:/Users/slove/AppData/Local/Programs/Python/Python312/py.py ==== ================================ RESTART: Shell ================================
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
can you paste the other part of ur error?
@Pb_insane
@Pb_insane Ай бұрын
@unitedtoptech6288 there is not any another error it shows only this statement restart shell
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
can you try using pycharm?
@Pb_insane
@Pb_insane Ай бұрын
@@unitedtoptech6288 what is this
@unitedtoptech6288
@unitedtoptech6288 Ай бұрын
it is a python code editor like vs code
@MuhammadIbrahim-nb7ie
@MuhammadIbrahim-nb7ie Жыл бұрын
can you please make a video about activity diagram and sequences diagram for expense tracking app ?
@unitedtoptech6288
@unitedtoptech6288 11 ай бұрын
Yeah will try it!!
@monuoriginal7425
@monuoriginal7425 2 ай бұрын
how to connect jupyter library with mysql
@unitedtoptech6288
@unitedtoptech6288 2 ай бұрын
What is jupyter library? never heard it? You mean notebook?
@anbarasisrihari3088
@anbarasisrihari3088 4 ай бұрын
TQ soo much
@unitedtoptech6288
@unitedtoptech6288 4 ай бұрын
Welcome 😊
@JSamuel08
@JSamuel08 6 ай бұрын
thank you SO MUCH!
@unitedtoptech6288
@unitedtoptech6288 6 ай бұрын
You're welcome!
@elitezzeisa1645
@elitezzeisa1645 4 ай бұрын
I LOVE YOUUUU
@unitedtoptech6288
@unitedtoptech6288 4 ай бұрын
great
MySQL Basics in Python
21:41
NeuralNine
Рет қаралды 21 М.
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
SQLite Databases With Python - Full Course
1:29:37
freeCodeCamp.org
Рет қаралды 693 М.
Serialization and Deserialization for backend engineers
21:48
K Srinivas Rao
Рет қаралды 982
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 219 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 110 М.
#72 MySQL Workbench Setup | Python Database Connection
8:01
Telusko
Рет қаралды 407 М.
Data Cleaning in MySQL | Full Project
51:11
Alex The Analyst
Рет қаралды 202 М.
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
Python MySQL Tutorial - Setup & Basic Queries (w/ MySQL Connector)
13:10
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН