This will help you to solve issue in vscode while connecting mysql database.
The main issue in vscode during connection with mysql database due to missing python module 'mysql-connector-python' or you have created the file name called 'mysql.py', which will be raise the error due to conflict in module package. So the solution is , to avoid such small mistakes.
At last , please subscribe my channel if you want to see my new videos in next time. Thank you.
Ещё видео!