How to Connect to MySQL Server and Run SQL Queries from VSCode (2024) - MySQL in Visual Studio Code

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024
  • In this video, I'll show you how you can connect to mysql server from vscode and run sql queries from vscode.
    We need to install and extension in visual studio code that will allow us to connect to mysql server in our local machine or a remote server. After we have connected to the MySQL server from vs code, we can then inspect the database server, run queries and manage our database directly from visual studio code.
    ☕Buy me a coffee: www.buymeacoff...
    🌐Connect with me:
    TikTok: tiktok.com/@thecodecity
    Twitter: / thecodecity
    Instagram: / thecodecity
    Website: thecodecity.com
    If you have problems trying to connect to mysql server from vscode, let me know in the comments below.
    #vscode #mysql #mysqlvscode #mysqlserver

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

  • @ppragyasharrma5450
    @ppragyasharrma5450 5 месяцев назад +11

    access denied for user@localhost is coming when I saved the test connection database. Can you please help me in this?

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

      check your password

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

      ​​@@unnecessarilylonghandle Can I put 4 digital pin as password? Or any other restrictions for creating password??

  • @ADITYAKUMAR-ts1hy
    @ADITYAKUMAR-ts1hy 3 месяца назад

    THANK YOU SO MUCH !! IT WAS REALLY VERY HELPFUL !!

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

    Great video and to the point! Thanks a lot

  • @werter3649
    @werter3649 4 месяца назад +1

    thanks man, helped a lot

  • @abhishekkumar-hx1io
    @abhishekkumar-hx1io 3 месяца назад +4

    Connection error!connect ECONNREFUSED 127.0.0.1:3306 can you tell how to resolve this issue

    • @TheCodeCity
      @TheCodeCity  3 месяца назад

      Looks like you are using wrong username/password

    • @ushad654
      @ushad654 3 месяца назад

      Even i have the same issue if anyone fixed pls help me

    • @ushad654
      @ushad654 3 месяца назад

      If u resolved pls help

    • @abhishekkumar-hx1io
      @abhishekkumar-hx1io 3 месяца назад

      @@TheCodeCity I have not entered any thing from my side, I have followed everything of yours.

    • @HelloWorld-lh1wk
      @HelloWorld-lh1wk 3 месяца назад

      first start the myAdmin server from XAMPP

  • @nai_sha8863
    @nai_sha8863 22 дня назад

    Didn't work for me, it shows connection error. Does anyone know how to resolve it?

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

    Do I need mysql installed in my machine first ?

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

    holy first time ever and it worked thank you

  • @juanpasten6077
    @juanpasten6077 4 месяца назад +1

    Thanks but it didn't work for me.

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

    how to create a table in by importing of csv file here?

  • @MAAMARMOHAMED-jx7vz
    @MAAMARMOHAMED-jx7vz 4 месяца назад

    thank you sir

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

    Great video. Thanks for sharing!

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

      You're welcome! Glad it helped

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

    Thanks

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

    How can I execute the whole script instead of executing only one request ? Thanks !

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

      I believe CTRL+A and then run ?

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

      did you try this?

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

      @@TheCodeCity yes it’s fixed, just need to put ";" at the end of every request to prevent fails

  • @venkatadrivenky9351
    @venkatadrivenky9351 Месяц назад +1

    What is password sir

  • @jeevan-23
    @jeevan-23 6 месяцев назад +1

    thanks

  • @RajasekharYadav-z1e
    @RajasekharYadav-z1e 3 месяца назад

    CONNECCTON ERROR is showing

  • @kergun11
    @kergun11 7 месяцев назад

    Good bu not enough. I want to create Stored Procedures and Functions easily