Connect to MySQL Database and Run SQL Queries Using Visual Studio Code (2022) and MySQL Extension

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • Connect to MySQL Server using vscode. Setup MySQL Connection in Visual Studio Code and Run SQL Queries using MySQL Management Tool extension. How to install and use MySQL Extension with Visual Studio Code. How to run SQL queries from Visual Studio Code. How to fix ER_NOT_SUPPORTED_AUTH_MODE Client does not support authentication protocol requested by server; consider upgrading mysql client. *******************************
    Connect to MySQL Database using vscode and SQLTools Extension: • Connect to MySQL Datab...
    Install MySQL Server : • How to Install MySQL S...
    *******************************
    Create new MySQL user with old authentication method:
    CREATE USER 'sqluser'@'%' IDENTIFIED WITH mysql_native_password BY 'password';
    GRANT ALL PRIVILEGES ON . TO 'sqluser'@'%';
    FLUSH PRIVILEGES;
    ********************************** .
    ***********************************
    🔥 Complete Udemy Courses :
    Build E-commerce Web Application using ASP.NET Core : www.udemy.com/course/aspnet-c...
    Build E-commerce Web API using ASP.NET Core : www.udemy.com/course/build-as...
    Build E-commerce Web Application using React JS : www.udemy.com/course/build-co...
    ⬇️ Free Document Proofreading ⬇️
    ► Grammarly : grammarly.go2cloud.org/SH3YB

Комментарии • 98

  • @palizatparankimas1464
    @palizatparankimas1464 Год назад +10

    You saved my life. I was dealing with this error for about 2 hours and luckily I found your video. Thanks a lot. ❤❤

  • @CarlosCastro-oh1qz
    @CarlosCastro-oh1qz Год назад

    Thank you, I kid you not, I spent probably about 5 hrs trying to figure this out, thank you :)

  • @rino19ny
    @rino19ny 2 года назад +3

    nice. there are very limited information available out there on how to properly connect VS 2022 or C++ to sql server.

  • @cutieshortie01
    @cutieshortie01 2 года назад +2

    So I was able to create a new user in the cmd but once I delete the old connection in vs code and add the newly made connection from the cmd, I’m still getting an error: er not supported auth mode…

  • @katrinedelrosario8807
    @katrinedelrosario8807 Год назад +1

    sir tysm!! this was exactly the help ive needed all day

  • @ALLINONE-yu9bu
    @ALLINONE-yu9bu Год назад +7

    This is very very very best video for connecting SQL server database to visual studio code

  • @usoppgostoso
    @usoppgostoso Год назад

    Thanks, good Sir, this one did the job for me. The other extensions I tried had no option to enter the path for the SSL certificate.

  • @franciscocgerman
    @franciscocgerman Год назад +1

    Gracias porque muchos solo muestras cuando se conecta pero no cuando hay un error Ni lo muestra solo que todo es perfecto para ellos Gracias por muestra las dos Causas

  • @anupriyabalasubramaian3601
    @anupriyabalasubramaian3601 Год назад

    Can I use MySQL from vscode without installing MySQL community server ? I tried to install MySQL community server but the custom and other options shows initialising database ( may take too long ) error when i installed the MySQL community server.

  • @dudecase772
    @dudecase772 Год назад +1

    really helpful ! thankyou sir.

  • @sononsoft5253
    @sononsoft5253 Год назад

    Awesome! Thank you!

  • @yeabsiramesfin4182
    @yeabsiramesfin4182 11 месяцев назад

    Thank you very much, sir, much appreciated

  • @laughingmady4597
    @laughingmady4597 Год назад

    sir i was not existing the create user sqluser and password it come on error if it comes an error then what would we do

  • @Ezep02
    @Ezep02 2 месяца назад

    Your video is very useful! thanks

  • @jesimasyed274
    @jesimasyed274 Год назад

    Can I use this method to connect in Microsoft Visual Studio 2022?

  • @ceritaaubi
    @ceritaaubi Месяц назад

    Makasih banget Kak, ini bantu aku banget buat bikin Tugas Akhir. semoga dimudahkan semla urusan kakak :D

    • @ti_firstmay9335
      @ti_firstmay9335 29 дней назад

      Hallo kak, aku jg lagi kerjain project visual studio. Boleh diskusi bareng?

  • @jyotiranjanjena8779
    @jyotiranjanjena8779 Год назад +1

    still showing same error as before using the new user
    what to do ?

  • @sarthakbhushan2639
    @sarthakbhushan2639 Год назад

    while command grant all privileges it is showing no database selected. how to resolve it?

  • @prathmeshpawar2591
    @prathmeshpawar2591 Год назад +9

    i can't find MySQL folder in file explorer, what might be the reason?

  • @sjmanoj
    @sjmanoj Год назад

    Tell me how do you installed MySQL 8?
    I need this setup please help me

  • @markebtaligon4874
    @markebtaligon4874 2 года назад +5

    This is exactly what I needed! Thank you 😊

  • @hariprasad.r5329
    @hariprasad.r5329 Год назад

    Heart full ❤ thanks for you bro

  • @surabh6589
    @surabh6589 Год назад

    is there any way to go back on the orignal settings

  • @SiLVERiCE8707
    @SiLVERiCE8707 Год назад

    Thanks a bunch!

  • @mennamohamed1241
    @mennamohamed1241 2 месяца назад

    it is a great video, Thank you so much. I have one question: How to import an online database to vs code using mysql

  • @user-dr3cg8fz1n
    @user-dr3cg8fz1n Год назад

    Thanks a lot, man ! You skipped lots of work by me😃 !

  • @Emmanuel-yl9it
    @Emmanuel-yl9it 3 месяца назад

    Please can you connect webpage to save data to MySQL database when you click the submit button on your signup page 2:05

  • @crlrc4
    @crlrc4 Год назад

    does this process runs in windows 7 ultimate? I did all the steps but It is still error.

  • @data_dreamer
    @data_dreamer 2 года назад

    gotta try this out !! been so frustrated with the error : (

  • @frosty7334
    @frosty7334 Год назад

    what do you do when u get this error: ERROR 1046 (3D000): No database selected

  • @davidjames6522
    @davidjames6522 6 месяцев назад

    I keep getting error 1045 mysql 28000 access denied for user. happens after i use the GRANT ALL PRIVILEGES. Can you help?

  • @talarbiv7068
    @talarbiv7068 Год назад +1

    thanks alot !

  • @Mattcodes_
    @Mattcodes_ Год назад

    Thank you so much

  • @sankalpnaik877
    @sankalpnaik877 Год назад +1

    i am not able to find mysql folder in Program Files

  • @saikirangudipelly6349
    @saikirangudipelly6349 Год назад

    ERROR 1396 (HY000): Operation CREATE USER failed for 'sqluser'@'%' any solution for this

  • @user-natal04ka
    @user-natal04ka Год назад

    Thank you!!!

  • @DYNAMAX_D
    @DYNAMAX_D 2 года назад

    Sir is there any way that I can reach out to you and show some pictures pls pls , i have exams in 7 days pls pls

  • @harry-matakios1344
    @harry-matakios1344 Год назад

    God bless your soul mate i was looking for this all day . Big thanks from Greece.

    • @chawquee
      @chawquee 10 месяцев назад +1

      he is from Tunisia aka Carthage . I know my countrymen when they speak English hahahah from millions I can grab that accent

  • @sathyamkakodkar5957
    @sathyamkakodkar5957 5 месяцев назад

    Hi
    How to export the results table to csv file ?

  • @chandudsc6344
    @chandudsc6344 Год назад

    thanks a lot😊

  • @repairmotor6579
    @repairmotor6579 Год назад

    man, I don't know what I'm watching here...I just to know how to open(connect) my WordPress in VisualStudio so I can customize my theme. I've already installed WordPress in my localhost...can you help a beginner like me

  • @studypoint8265
    @studypoint8265 10 месяцев назад

    how to do the same in macbook?

  • @andikaamansyah5715
    @andikaamansyah5715 Месяц назад

    I've followed all the procedures, but why does it still error?:(

  • @QenG250
    @QenG250 9 месяцев назад

    My connection not showing in vs code so i tried to reconnect it but it not showing

  • @mounikareddy5988
    @mounikareddy5988 4 месяца назад

    I could not add connection localhost its not showing after giving username root password plz give me reply i need to fix this

  • @felixj2606
    @felixj2606 Год назад

    The commend are all gived but error also come

  • @Joyboiiii05
    @Joyboiiii05 Год назад +1

    It showing access denied

  • @nawiyaleelanawalikhit9569
    @nawiyaleelanawalikhit9569 Год назад +1

    nice teacher ❤️❤️

    • @bejunies
      @bejunies Год назад +1

      nice video ❤

  • @rakeshkumars8226
    @rakeshkumars8226 Год назад +1

    error at grant all command

  • @luckytechpro9537
    @luckytechpro9537 Год назад

    great!

  • @rotapranata4289
    @rotapranata4289 2 года назад +22

    For those of you guys still experiencing access denied, if you type exactly just like in the video, please type in "password" as the new password.
    Good luck mate !

  • @AtulSharma-fk5nm
    @AtulSharma-fk5nm 2 года назад +1

    Sir when i am creating a new user it's showing me this error
    ERROR 1396 (HY000): Operation CREATE USER failed for 'sqluser'@'%'

    • @cutieshortie01
      @cutieshortie01 2 года назад +1

      Me too were u able to fix it?

    • @AtulSharma-fk5nm
      @AtulSharma-fk5nm 2 года назад

      @@cutieshortie01 no vro 🥲🥲

    • @Artist19
      @Artist19 Год назад +2

      I changed 'sqluser'@'%' to 'sqluser'@'localhost' I hope this helps

    • @ilovemeee21
      @ilovemeee21 Год назад

      @@Artist19 hey im not able to create user . any help ?

    • @dhathrrireddy70
      @dhathrrireddy70 Год назад

      @@Artist19 yes it helped me tq

  • @montielvincivano.8682
    @montielvincivano.8682 Год назад

    QUESTION.
    How do I share my database to another computer?
    I am using Workbench SQL and I want my database to be access to other computer. basically I have mini POS system and is workable. the problem is that, I cannot share my database to other pc since my program have 3 windows, one for clerk, one for cashier, and one for manager.
    can you help?

  • @Neditroxitox
    @Neditroxitox Год назад

    no me sale la tabla :C helme

  • @justrandom737
    @justrandom737 Год назад

    WHAT IF, MY MYSQL HASN'T ANY PASSWORD?

  • @badgood8477
    @badgood8477 Год назад

    STILL its showing same error😭😭

  • @supratiksarkar1195
    @supratiksarkar1195 Год назад +8

    Did EXACTLY as told. Still showing error.
    Update - Now it is connected. The mistake I was making was after creating sqluser using CREATE USER, I was giving the password in VS Code as my Password to connect to mysql server. But the password to give in VS Code is password which is what is written in CREATE USER. So just user password as password and it will be connected.

  • @PrinceSharma-jg2mh
    @PrinceSharma-jg2mh 2 года назад

    Awsm

    • @gauravmandal8866
      @gauravmandal8866 2 года назад

      bro mera error hat nhi rha hai

    • @ritikraj2629
      @ritikraj2629 Год назад

      bro can you please help me in this I got error

  • @zex1ck
    @zex1ck Год назад

    #IndiansSavesLifes

  • @sammyay-man2754
    @sammyay-man2754 Месяц назад

    The senond command gave me wrror

  • @chawquee
    @chawquee 10 месяцев назад

    You are Tunisian 100%: ya weld bledi

  • @adamczarny6482
    @adamczarny6482 Год назад +1

    your comands not working in 2023

  • @siddharthdhiman4833
    @siddharthdhiman4833 10 месяцев назад

    Bin folder ni aarha 😢

  • @azhariaziz4078
    @azhariaziz4078 Год назад

    Are Moroccan YOU Brother

  • @midoouchi2514
    @midoouchi2514 8 месяцев назад

    3la hsab lahdja rak tban weld bladi, fe9tlek😅

  • @rkp3399
    @rkp3399 2 года назад

    Nothing happened sir....😕

    • @rkp3399
      @rkp3399 2 года назад

      Because software is MySQL 8.0.29 and in visual studio code, I want to connect ..... that why....!

  • @feellost6957
    @feellost6957 Год назад

    Robojax voice

  • @tahamalik8571
    @tahamalik8571 Год назад

    What's the password?

  • @EvanAr007
    @EvanAr007 Год назад +1

    I got this one, but I dont know how to fix it.
    ER_ACCESS_DENIED_ERROR: Access denied for user ''@'localhost' (using password: YES)

  • @ahmedtahri7109
    @ahmedtahri7109 6 месяцев назад

    yarhem waldik