How to connect PHP To MySQL? Step by Step with #2 Example Script in cPanel

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

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

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

    great information to the consider of the cpanel into connect in database to mysql.

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

    thank alot bro u make my day GOD bless you

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

    U .. U are the man ! U saved ma day ! Thank u !

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

    I found your video extremely helpful Thanx man (kind of funny too :) )

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

      Thank you, Sina M! ! for such lovely appreciation. I am hoping that my video guides will continue to be informative and help you on your path to enlightenment ✌.✔👍WE willy surely try to upload a tutorial to install the laravel app on Plesk server soon Stay tune. do not forget to subscribe to our channel 😊 Have a great day

  • @MDARIFULISLAM-lq4hq
    @MDARIFULISLAM-lq4hq 4 года назад +2

    that's what i was looking for. Thank you so much.

  • @su-prabhat
    @su-prabhat 4 года назад

    thanx brother i was strulling with add user to db , i was not adding user to db . thanx a lot.

  • @imadoulhou7854
    @imadoulhou7854 5 лет назад +2

    alhamdolillah

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

      Thank you, Imad Oulhou ! 😊 I am hoping that my video guides will continue to be informative and help you on your path to enlightenment ✌.✔👍we do videos on your request so you can get a solution for every problem do not forget to subscribe to our channel 😊 Have a great day 😊

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

    your video was excellent

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

    THANK SO MUCH YOU DONT KNOW HOW I SCREAM!

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

      Thank you, Edwin Omar Garcia Mendez 😊 I am hoping that my video guides will continue to be informative and help you on your path to enlightenment ✌.✔👍we do videos on your request so you can get a solution for every problem do not forget to subscribe to our channel 😊 Have a great day 😊

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

    best explained!

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

    Very useful video.thanx

  • @PavanKumar-lz5ok
    @PavanKumar-lz5ok 4 года назад +1

    bro..... thank you so much

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

      Hey, Pavan KumarThank you so much for appreciating my work 😊 I am hoping that my video guides will continue to be informative and help you on your path to enlightenment ✌.✔👍we do videos on your request so you can get a solution for every problem do not forget to subscribe to our channel 😊 Have a great day

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

    excellent work

  • @SurajSharma-om9ze
    @SurajSharma-om9ze 7 лет назад +2

    thanks sir

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

    Thank You !! (Y)

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

    good video

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

      Hey, SUBHASH BANOTHU welcome to our your youtube channel.😊😊 We primary focusing on solving problems and building a platform to share knowledge with DomainRacer services. ✌️✌️
      No matter if you are a customer of DomainRacer or not 😊. Still, we believe in sharing.
      if you need any help regarding wordpress, let us know in the comment section, below we do videos on your request so you can get a solution for every problem do not forget to subscribe to our channel 😊

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

    thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks alot

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

      Thank you! Gbengazee matt jose ! I am hoping that my video guides will continue to be informative and help you on your path to enlightenment ✌.✔👍we do videos on your request so you can get a solution for every problem do not forget to subscribe to our channel 😊 Have a great day

  • @BA.Khan.w
    @BA.Khan.w 7 лет назад +1

    thank you so much.

    • @DomainRacerVideos
      @DomainRacerVideos  7 лет назад +1

      Thanks Bashir for watching this PHP and MySQL database connection video. Hopefully you have already subscribe to our channel to get latest update on web services.

    • @bashirahmad6056
      @bashirahmad6056 7 лет назад +1

      like and subscribe done in the hope to see more such beautiful tutorials from you

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

    super

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

      Thank you! Hari Krishnan I am hoping that my video guides will continue to be informative and help you on your path to enlightenment ✌.✔👍we do videos on your request so you can get a solution for every problem do not forget to subscribe to our channel 😊 Have a great day

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

    best

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

    mysqli function work connected byt mysql_connect() function not work how to solve this problem?what version use in inside cpanel php version use this connection?

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

      Hi Sofipto,
      MySQLi is now latest update in PHP library. this is more secure that mysql_connect() recently apache php has announced that, in the upcomming update they are no more using mysql_connect() function.
      Better to start practicing now onwards to avoid future harm.

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

      Thanks

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

    i created sql database and user, but user wasn't show inside phpmyadmin

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

      Hi Fatchoy,
      In phpMyAdmin, you can able to see the only database name. For username, you need to go to cPanel and under DATABASES visit "MySQL Databases".
      Please watch video repeat, you will get everything clearly.

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

    How can I get the program code sir?

  • @mustafaanwar463
    @mustafaanwar463 7 лет назад +1

    in database _connect.php what is the host equal ?

    • @DomainRacerVideos
      @DomainRacerVideos  7 лет назад +2

      Hi Mustafa,
      We are not sure about your programming format, but as per your query, database_connect.php might be a php program which contains database connection script.
      Host Name you can put localhost or your website name. If it still not connecting, then you have to contact your web hosting administrator. They will assist you to fix this issue.
      Best Regards,
      Ashok C

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

    where can i found the php code

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

      Sorry Rezoan Iqbal Rohan for the late response,
      Currently we don't have exact script that we have used into our video
      "How to Connect PHP with MySQL simple way"
      But you can take benefit of below written tutorial:
      www.tutorialspoint.com/php/php_mysql_login.htm

  • @vishalbalhara9852
    @vishalbalhara9852 7 лет назад +1

    Sir I need your phone code the same you used in video

    • @DomainRacerVideos
      @DomainRacerVideos  7 лет назад +2

      Sorry Vishal for the late response,
      Currently we don't have exact script that we have used into our video
      "How to Connect PHP with MySQL simple way"
      But you can take benefit of below written tutorial:
      www.tutorialspoint.com/php/php_mysql_login.htm

    • @vishalbalhara9852
      @vishalbalhara9852 7 лет назад +1

      DomainRacer no problem

  • @keshavagarwal3981
    @keshavagarwal3981 7 лет назад

    in my cpanel it is connected to database but is not inserting in the it.
    please help

    • @DomainRacerVideos
      @DomainRacerVideos  7 лет назад

      Hi Keshav,
      Might be you are trying wrong MySQL query for insert into the database. You can google it for basic example for testing.
      Surely this will work.

    • @DomainRacerVideos
      @DomainRacerVideos  7 лет назад

      Hi Bihari,
      Please provide more information about the issue, like url and what the issue. We will try to guide you.

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

      @@DomainRacerVideos it is solved

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

      @@keshavagarwal3981 I am hoping that my video guides will continue to be informative and help you on your path to enlightenment. Have a great day ....

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

    You forgot to leave the script

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

      got your point, we have forwarded your query to team. will update them for sure. thanks for your valuable correction. this really helped to avoid any misunderstanding. our goal is to pass info and educate our audience for better future.
      thanks again.

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

      @@DomainRacerVideos I'm following everything you talked about, like I stated before, you make it easier to understand. I was just going to copy your xml format and just edit. Thanks so much, sir. Good night.