How can I access the MySQL command line with XAMPP for Windows? - SOLVED

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • Pliz, SUBSCRIBE TO MY SECOND CHANNEL:: / @thisis256 (Planning to start Video Editing Tutorials).
    How to connect to MySQL database through windows Command Prompt Console.
    Your MySQL binaries should be somewhere under your XAMPP folder. Look for a /bin folder, and you'll find the mysql.exe client around. Let's assume it is in c:\xampp\mysql\bin, then you should fire up a command prompt in this folder.
    That means, fire up "cmd", and type: mysql -u root -p -h 127.0.0.1
    THE WORLD'S LARGEST WEB DEVELOPER CHANNEL:
    / ostoncodecypher
    Join Oston code cypher channel today and get your life time tutorials for free!
    Learn how to build websites and apps, write code, or start a business on your own. Learn from over 1,000 videos created by himself the expert on web design, coding, business, and much more.
    Oston code cypher channel teaches the in-demand technology skills you need to land your dream job.

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

  • @OstonCodeCypher
    @OstonCodeCypher  4 года назад +9

    Please guys you will forgive me for the silly mistake I made in the video.
    You don't need to put your password after -p. Only enter the password when you are prompted to do so.
    Syntax:: mysql -u root -p -h 120.0.0.1
    Then Enter Password.

  • @zygotedermechatronik3448
    @zygotedermechatronik3448 9 дней назад

    Thank you very much for this reminder. It is awesome. Far back in school I simply wrote the commands our teacher showed us without even understanding. But now years after graduation I want to relearn MySQL and after installing Xampp, I could not remember how to enter Maria DB. And your tutorial just saved me.

  • @steph.7000
    @steph.7000 9 месяцев назад +3

    i'm having a hard time setting up my xampp awhile ago and i really thank you for this. it help me a lot

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

      You are welcome.
      I wish you all the best 👍

  • @user-qr4dh9kj2o
    @user-qr4dh9kj2o Год назад +2

    Finally I found a Uganda with IT tutorials 👍 good work Oston

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

    Your kind support would buy me the necessary fuel (coffee) and time so I can dedicate myself more to making extra free content. dashboard.flutterwave.com/donate/oiwdp0yfkk5d

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

    God thank you so much, been having a problem setting up mysql in cmd, my friend said because i use c drive in installing the xampp but i only have c drive because my pc is not capable having more than one ports

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

      Am glad it helped friend. Incase you don't want to follow those steps every time you want to connect to MySQL. Watch this batch tutorial:: ruclips.net/video/enEkXJRrJ4Q/видео.html

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

    Finally this video showed how to do it. I was struggling.

  • @melaniescrybaby8382
    @melaniescrybaby8382 3 года назад +3

    Thank you so much! I forgot how to use this because it’s been 3 years since the last time i did database and you help me a lot!

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

      Am glad it helped out. Stay blessed and thanks for watching

  • @tweteisepeter8183
    @tweteisepeter8183 4 года назад +1

    Thank you man, the lecturer actually wanted us to use wampserver since it uses cmd line yet I have xampp installed on my system.

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      Am glad that it helped... nice coding & hope you learn more from the channel

  • @nassorm5634
    @nassorm5634 5 лет назад +4

    Very useful and straight to the point. You should do more videos.

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

    Thanks for helping me out!

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

    Thank you mr. That print trick sure was helpful

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

    Thanks for ur explanations about accessing the server with windows Cmd , this video helps me really. Keep doing videos 👍

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

      Am glad it you friend, incase you don't want to follow the same process every time you want to access the MSQL shell. Watch this tutorial:: ruclips.net/video/enEkXJRrJ4Q/видео.html

  • @fryingpan5431
    @fryingpan5431 5 лет назад +4

    Thank you so much I've had so much trouble trying to sign in this was perfect!

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

    Thank You for Your help

  • @sejalpatil3247
    @sejalpatil3247 3 года назад +1

    This works but when i exit the command prompt and join again i have to write the instructions again how to fix it permanently

    • @OstonCodeCypher
      @OstonCodeCypher  3 года назад

      You will have to do that every time you want to use it.

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

      His updated solution:: ruclips.net/video/enEkXJRrJ4Q/видео.html

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

    Thank you for this my head was soon bursting

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

      Am glad it helped, here is tutorial:: ruclips.net/video/enEkXJRrJ4Q/видео.html to save you from following the same process every time you need to use the command line.

  • @mr.positive4569
    @mr.positive4569 Год назад +2

    Devru guru neenu❤️

  • @muhammadmustafa1353
    @muhammadmustafa1353 4 года назад

    Very thanks through your lecture about how to connect with database mysql.

  • @jitendraruley
    @jitendraruley 4 года назад +2

    Thank you very much i have been thinking about it and now i get solution from your video thanks Man.

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      Thanks for watching Jitendra..👍👑
      Hope you learn more from the channel.

  • @devangperiwal4031
    @devangperiwal4031 3 года назад

    I never set a password and I always typed -p in the cmd. Finally able to deal with it. Thankyou

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

    Love From India ❤️🔥

  • @subhadipsur7561
    @subhadipsur7561 4 года назад +1

    Very good work brother. Keep it up.

  • @patbre
    @patbre 3 года назад +1

    Hi Oston. I like your video. Not 100% sure however when you create a new database you might use " CREATE DATABASE IF NOT EXISTS youtube".
    This way if you try to create a new database you will not over write a database that you may have created with the same name already.
    You should get an error.
    If you had a database called "youtube" and you create a new database called "youtube" the second will delete the first and you will lose your data from the first.
    Hope this is helpful.
    Patrick.

  • @daniel029-
    @daniel029- 2 года назад

    if i wanna setup maria db that pops up :
    ERROR 1044 (42000): Access denied for user 'user'@'%' to database 'password'

  • @AJ0802
    @AJ0802 4 года назад

    For some reason after following these commands it connects to MySQL server not the server from xampp. Can you help

  • @MaryOppong-eg4yy
    @MaryOppong-eg4yy Месяц назад +1

    Thanks

  • @hooriafatima-bf1ot
    @hooriafatima-bf1ot Год назад +1

    What should I do when I couldn't find bin in mysql???

  • @soujanyabk4832
    @soujanyabk4832 3 года назад +1

    Thank you very much🤩 it's really helpful

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

    so good but then how can i turn mysql database into laravel project

  • @shara6281
    @shara6281 3 года назад +1

    Very helpful , Thank you

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

    Thank you so much

  • @samrudhimohanty1556
    @samrudhimohanty1556 4 года назад +1

    Thank you man... This was really helpful

  • @nazrulislam-kp4pn
    @nazrulislam-kp4pn 3 года назад +1

    Thank you bro very helpful go ahead

  • @dheerajdubey5371
    @dheerajdubey5371 5 лет назад +1

    Thank you so much, sir, for this guide....thank u sir again.....

    • @OstonCodeCypher
      @OstonCodeCypher  5 лет назад

      You r welcome dubey,Hope u learn more from this channel 👊👍

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

    hi, Thank You for your tutorial very helpful. But i will already try on my laptop but when i enter it's say can't connect my sql server. Can i know how to solve this problem ? thank You

  • @paco1914
    @paco1914 5 лет назад +1

    Very helpful. Kudos!

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

    Very useful

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

    thanks for the guide!

  • @souvikrakshit232
    @souvikrakshit232 6 лет назад +2

    Thanks...Do I need to do that everytime when I try to open mysql through command prompt.

    • @OstonCodeCypher
      @OstonCodeCypher  6 лет назад +1

      Yes bro....but with time trust me u will get used to it. 👍

    • @souvikrakshit232
      @souvikrakshit232 6 лет назад +2

      Oston Code Cypher Thank you...

  • @eliteny0
    @eliteny0 4 года назад +1

    Thanks, perfect video for me!

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

    Sir please tell how we can use this same thing ( shell in xampp) on macbook air😭

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

      I think you need to follow the same procedures but according to file locations

  • @oimatheusmesquita
    @oimatheusmesquita 3 года назад +1

    You are my Hero :) Thank you very much!

  • @bratbalal9042
    @bratbalal9042 4 года назад +1

    Entering password in the command line is insecure and it might not work and give error message
    Enter. Mysql -u root -p. and press enter
    Then once password is prompted enter the password

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      Thanks for tip - I also realised it later but am glad you noticed it..
      Let me pin this comment so that every body See's it..
      Thanks once again..

    • @bratbalal9042
      @bratbalal9042 4 года назад +1

      Oston Code Cypher sure

  • @sewerynolszewski6137
    @sewerynolszewski6137 3 года назад +1

    love from poland

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

    thanks dude!

  • @diegosoutoh
    @diegosoutoh 4 года назад +2

    THANK YOUUU SO MUCH!! Muito obrigadoooo:D

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      You r welkam, hope you learn more from the channel..PEACE ✌

  • @jeevanjose1510
    @jeevanjose1510 4 года назад +1

    Thank you very much bro😊

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

    tankyou so much

  • @ashwininayak3387
    @ashwininayak3387 3 года назад

    I want password spelling sir ? I m not getting password curectly can you help me? Sir

  • @swapnilchinchwalkar6107
    @swapnilchinchwalkar6107 4 года назад +1

    Can anyone tell me how to get back the dropped table ?

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      You can't get it....You dropped/Deleted it..💣

  • @sanjeevshirsate7760
    @sanjeevshirsate7760 5 лет назад +1

    Xampp not reconginzed internal & external path, how to solve it 😅please!!

  • @kanuraina4448
    @kanuraina4448 5 лет назад +1

    THANKS .....GOD BLESS YOU..

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

    thanks man;

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

      You are welcome, hope you learn more from the channel.

  • @amashasarindi5134
    @amashasarindi5134 11 месяцев назад +1

    Thnks ❤️❤️

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

    thank you

  • @imranhosain7394
    @imranhosain7394 3 года назад

    very helpful this tutorial

  • @cassio44peia53
    @cassio44peia53 4 года назад +1

    thank you sooooooooooooooooooooo muuuuuuuch , it works :)

  • @AtulYadav-ml4hk
    @AtulYadav-ml4hk 3 года назад +1

    Thanks Bro

  • @romelash211
    @romelash211 5 лет назад +1

    Thank you man

  • @34_santoshkalshetty52
    @34_santoshkalshetty52 2 года назад

    Great sir

  • @gazziro2916
    @gazziro2916 3 года назад

    Valeu india vc é brabo!

  • @darkman8939
    @darkman8939 5 лет назад +1

    Thank you!

  • @atairabbi496
    @atairabbi496 3 года назад

    Excellent Explain !!!!

  • @ramandeepkaur4201
    @ramandeepkaur4201 4 года назад +1

    Thank you:)

  • @aishwarysaxena5301
    @aishwarysaxena5301 4 года назад +2

    you are messiah man haahaha

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

    Thank you so much🙏, is there any way i can contact you?

  • @Irhasyahya
    @Irhasyahya 4 года назад

    alhamdulillah busa makasih kak :)

  • @agustinlawtaro
    @agustinlawtaro 4 года назад +1

    You are God

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      Wooow...am really humbled.. Glad it helped U

  • @RahulYadav-yn7ep
    @RahulYadav-yn7ep Год назад

    Xampp shell not open

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

      Why???
      Edit:: Did you follow the steps and already have XAMPP installed??

  • @bilalmohammad4242
    @bilalmohammad4242 4 года назад

    Thank you!

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      U r welkam..hope you learn more from the channel.

  • @leeson3263
    @leeson3263 4 года назад +1

    I having error 1045

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

    but I don't know the password(:

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

      Does your interface require a password??
      if not just press enter & continue

  • @yotammkandawire3602
    @yotammkandawire3602 4 года назад +1

    Awesome

    • @OstonCodeCypher
      @OstonCodeCypher  4 года назад

      Thanks for watching.... Hope you learn more from the channel 👍👊

  • @isaactaremwa001
    @isaactaremwa001 3 года назад +1

    Are you a Ugandan and from Western Uganda???

  • @SY-rr8pz
    @SY-rr8pz 3 года назад +1

    5:08

  • @diegosoutoh
    @diegosoutoh 4 года назад +1

    One more subscribed:D

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

    FUCK THANKYOUUUU!!!!!

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

    open cmd
    cd c:\xampp\mysql\bin
    >mysql -u root -p
    Enter password:
    show databases;

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

    Very helpful, thank you!

  • @ruggeddog3103
    @ruggeddog3103 3 года назад

    thank you

  • @vithushan9043
    @vithushan9043 5 лет назад +1

    Thank you so much

  • @SamUddin4u
    @SamUddin4u 6 лет назад +2

    Thanks

    • @OstonCodeCypher
      @OstonCodeCypher  6 лет назад

      You are welcome Sam,Hope u learn more with this channel 👍

  • @srnaime3805
    @srnaime3805 3 года назад +1

    Thank you sir

  • @Sichuanbeef
    @Sichuanbeef 4 года назад

    Thanks so much. Very helpful!

  • @ManishaKumari-wi6kg
    @ManishaKumari-wi6kg 4 года назад +1

    Thank u so much