Install phpMyAdmin On Ubuntu 20.04

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • Install Ubuntu 20.04 LTS on Virtual Machine:
    • Install Ubuntu 20.04 L...
    ***************************** Steps and command **********************
    1. To install apache2
    sudo apt-get install apache2
    2. For moving to the root directory type the command :
    Sudo su
    3. Now to install the lamp server type the command:
    apt-get install lamp-server^
    4.To install phpmyadmin type the command as :-
    apt-get install phpmyadmin -y
    5. One dialog box will appear and select the ‘apache2’ by pressing spacebar.
    6. Now configuring phpmyadmin dialog box will appear and select ‘yes’ after that give the password in my case it’s ‘admin’ 🡪 This password is of ‘root password’
    7. Now, goto the php directory as:-
    cd /var/www/html/
    8. If you hit the command as:-
    ls
    you can see the index.html file over that directory.
    9. To see the php version you are using create info.php using command as:-
    nano info.php
    after that type the code as:-
    phpinfo();
    And press ctrl + o to save and ctrl + x to exit.
    10. Now goto the browser and type ‘localhost/info.php’ you will get the php version.
    11. Then in browser go to the ‘localhost/phpmyadmin’ you will have to login now so to create user name and password at first go to
    sudo mysql -p -u root
    12. Create User using command as:-
    CREATE USER 'admin'@'%' IDENTIFIED BY 'admin';
    It means that the user name is ‘admin’ and password is also ‘admin’
    13. Grant Permission using the command as:-
    GRANT ALL PRIVILEGES ON . TO 'admin'@'%' WITH GRANT OPTION;

ความคิดเห็น • 77

  • @javierrobes7394
    @javierrobes7394 3 ปีที่แล้ว +3

    Clear, brief, easy to follow...
    Perfect tutorial.
    Thanks a lot!

  • @TheFatHampster
    @TheFatHampster 2 ปีที่แล้ว

    Very useful guide. Works on latest unbuntu as of Nov 2022

  • @kelvin4782
    @kelvin4782 2 ปีที่แล้ว

    This is the best explanation and assistant with commands below

  • @bisheshworkhadka8684
    @bisheshworkhadka8684 3 ปีที่แล้ว

    Its a easy to understand command and clear specification.
    so this is useful thank you sir

  • @connecthubthailand
    @connecthubthailand 2 ปีที่แล้ว

    Very useful, many thanks for step-by-step, I can set it up in one time. Thanks thanks again. God bless you. Cheers!!

  • @ninsiimawilber
    @ninsiimawilber 2 ปีที่แล้ว +6

    Thanks for the tutorial, this saved me.
    But there is something you skipped in your explanation
    Enabling phpmyadmin in Apache2 server.
    sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
    sudo a2enconf phpmyadmin
    sudo service apache2 reload

    • @victormwaura3517
      @victormwaura3517 2 ปีที่แล้ว +1

      Thanks a lot bro. This was the missing final step in my set up.

    • @omnablecreativelabs
      @omnablecreativelabs ปีที่แล้ว

      Lifesaver!! I've been trying to install this for days and now it finally works! Thank you!

    • @braineaterzombie3981
      @braineaterzombie3981 ปีที่แล้ว

      Thanks bro. What a lifesaver..

  • @TrueStandard
    @TrueStandard 3 ปีที่แล้ว

    What’s the difference between the Apache web server and the lamp server?

  • @ABID-ik3mw
    @ABID-ik3mw 2 ปีที่แล้ว

    Greate,
    after long search i found this,
    Thanks a lot,

  • @antoniodellifiori8817
    @antoniodellifiori8817 2 ปีที่แล้ว +2

    Hi man. I sow yr video, but i got a problem: how i finish to set the "info.php" file, and retry to start "localhost/phpmyadmin/" my browser allert me with "404 Not found:The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80".
    I've followed all yr steps watching video

    • @ninsiimawilber
      @ninsiimawilber 2 ปีที่แล้ว +4

      I had the same issue, but you need to enable the phpMyadmin module in Apache2 and then restart your apache server
      Just use the following commands
      sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
      sudo a2enconf phpmyadmin
      sudo service apache2 reload

    • @melvinivandelgadilloarredo3705
      @melvinivandelgadilloarredo3705 2 ปีที่แล้ว

      @@ninsiimawilber Thank u, bro!!!

    • @ClutchVault
      @ClutchVault หลายเดือนก่อน

      @@ninsiimawilber worked like a charm. thanks!

  • @МаксимДудников-х2е
    @МаксимДудников-х2е 2 ปีที่แล้ว

    Very help! Thank you! The best manual!

  • @Jeridi
    @Jeridi 2 ปีที่แล้ว

    i add my projet in www/html/
    after
    localhost/myprojet/
    but the phpmyadmin not connected with my database

  • @RamonChiNangWong078
    @RamonChiNangWong078 2 ปีที่แล้ว

    Nice, it also came with written instruction!
    fast and easy

  • @BOSBESAR77721
    @BOSBESAR77721 2 ปีที่แล้ว

    Wou, thanks for you bro.......⚡⚡⚡

  • @mehedeehassan5705
    @mehedeehassan5705 3 ปีที่แล้ว

    Omg! Thanks, man,! you're very helpful

  • @michajaron6236
    @michajaron6236 3 ปีที่แล้ว +2

    E: Unable to locate package -y
    while -- apt-get install phpmyadmin -y

    • @MohamedHelmys
      @MohamedHelmys 3 ปีที่แล้ว +3

      use it without -y: apt-get install phpmyadmin

  • @javeriana05
    @javeriana05 2 ปีที่แล้ว

    ty man, really useful :D

  • @SharifulIslam-om5rq
    @SharifulIslam-om5rq 2 ปีที่แล้ว

    Can't understand 5:25 to 5:30 minute..Please help

  • @PraveenMax
    @PraveenMax 3 ปีที่แล้ว

    Thanks alot....It worked!

  • @tux4059
    @tux4059 3 ปีที่แล้ว

    Hello I get an error when I set the password :
    │ mysql said: ERROR 1819 (HY000) at line 1: Your password does not satisfy
    │ the current policy requirements
    even though my password is strong, it does it everytime, what should I do ?

  • @adambrosko9434
    @adambrosko9434 2 ปีที่แล้ว

    Very useful, but I have one question if I have installed phpmyadmin on server, how can I transfer data to php? I can connect to database remotely but I can't use data from database in php project. Can somebody help me? Thanks

  • @robertmassotti4177
    @robertmassotti4177 3 ปีที่แล้ว

    How do you enter the last character in apt-get install lamp-server^

    • @robertmassotti4177
      @robertmassotti4177 3 ปีที่แล้ว

      Found it. The browser does not run any *.php files and only displays the source code. Was there some other configuration missing? Thank you

    • @dipenshrestha1105
      @dipenshrestha1105 3 ปีที่แล้ว

      @@robertmassotti4177 No any configuration have been missed. Thank you!

  • @anthonyheard1395
    @anthonyheard1395 2 ปีที่แล้ว

    Thank you very much sir

  • @ashutoshmishra8118
    @ashutoshmishra8118 4 ปีที่แล้ว

    It was really healpfull sir,Thank you

  • @cinemaexplore1228
    @cinemaexplore1228 2 ปีที่แล้ว

    thank you... it very helpfull

  • @SnakZ
    @SnakZ ปีที่แล้ว

    this doesnt work unable to see phpmyadmin

  • @amirmohammadqaffari9084
    @amirmohammadqaffari9084 3 ปีที่แล้ว

    thanks a lot
    It was very useful and practical

  • @ismailsaleh3536
    @ismailsaleh3536 ปีที่แล้ว

    Thanks for that tutorial

  • @amitpawar7548
    @amitpawar7548 3 ปีที่แล้ว

    Very very helpful bro thanks

  • @sdkkds2362
    @sdkkds2362 3 ปีที่แล้ว

    Very helpful video, you made my day

  • @SYEDSHEERAZZAIDI
    @SYEDSHEERAZZAIDI 4 ปีที่แล้ว

    thanks bro. very helpful

  • @julienblanc4610
    @julienblanc4610 3 ปีที่แล้ว

    very helpful! Thank you

  • @edwarddavis3870
    @edwarddavis3870 2 ปีที่แล้ว

    Very helpful

  • @abhimanyuanand4173
    @abhimanyuanand4173 ปีที่แล้ว

    Thanks a lot Bro ,

  • @igspm
    @igspm 2 ปีที่แล้ว

    Thank very much!!!!!

  • @aoipalmtravelsagain
    @aoipalmtravelsagain 2 ปีที่แล้ว

    web interface. not show

  • @melissaammour5270
    @melissaammour5270 3 ปีที่แล้ว

    Thank you very much !

  • @SharifulIslam-om5rq
    @SharifulIslam-om5rq 2 ปีที่แล้ว

    Still show not found

  • @jackinatox9265
    @jackinatox9265 3 ปีที่แล้ว

    nice tutorial, it was verry helpfull

  • @howawwe3291
    @howawwe3291 3 ปีที่แล้ว

    Thank you sir

  • @shaneschwalger2482
    @shaneschwalger2482 3 ปีที่แล้ว

    i was stuck at the log in stage, I had not created a user. - ty

  • @mohamedettadrarty7404
    @mohamedettadrarty7404 3 ปีที่แล้ว

    thank you so much you are geniesse

  • @roypolinder8158
    @roypolinder8158 3 ปีที่แล้ว

    legend!

  • @PrAsHaNtHdUke1093
    @PrAsHaNtHdUke1093 2 ปีที่แล้ว

    thanks a lot bro..

  • @manish__g
    @manish__g 3 ปีที่แล้ว

    when i am try this command it is throwing an error. permision denied

    • @roypolinder8158
      @roypolinder8158 3 ปีที่แล้ว

      thats because you edit your /var/www/html folder, thats by default 'permission denied'. try run the following command in the terminal: sudo chmod 777 /var/www/html/

    • @SHADOW6_STRIKE7
      @SHADOW6_STRIKE7 2 ปีที่แล้ว +1

      @@roypolinder8158 thanks bro u saved me

    • @braineaterzombie3981
      @braineaterzombie3981 ปีที่แล้ว

      Thanks bro.

  • @jalil_kartal
    @jalil_kartal 3 ปีที่แล้ว

    Thank you.

  • @maddalarajesh1688
    @maddalarajesh1688 2 ปีที่แล้ว

    What is the password for ubuntu

  • @robertmassotti4177
    @robertmassotti4177 3 ปีที่แล้ว

    This did not work for me.

    • @dipenshrestha1105
      @dipenshrestha1105 3 ปีที่แล้ว

      what's the error you are getting?

    • @asalentstech1767
      @asalentstech1767 3 ปีที่แล้ว

      @@dipenshrestha1105 phpmyadmin isnt showing login page and i did this correctly

  • @oldgames7960
    @oldgames7960 ปีที่แล้ว

    Thankssssssss

  • @achyutneupane4580
    @achyutneupane4580 4 ปีที่แล้ว

    Nice to see this video

  • @azaniatutoria
    @azaniatutoria 3 ปีที่แล้ว +1

    Your video was very helpful thanks I sub u same time

  • @gayeisaac4744
    @gayeisaac4744 ปีที่แล้ว

    think you

  • @moch.nashehannafii2416
    @moch.nashehannafii2416 3 ปีที่แล้ว

    thanks

  • @iAnuragJha
    @iAnuragJha 2 ปีที่แล้ว

    scripted!

  • @ReligionAndMaterialismDebunked
    @ReligionAndMaterialismDebunked ปีที่แล้ว

    69 comments to 70. (;
    69. (;.

  • @pankajkumarbiswas6368
    @pankajkumarbiswas6368 2 ปีที่แล้ว

    GRANT ALL PRIVILEGES ON*.* TO 'admin'@'%' WITH GRANT OPTION; update the privilege's code otherwise it will give error, Thanks

  • @rhanzel3320
    @rhanzel3320 2 ปีที่แล้ว

    Latest grant permission: GRANT ALL PRIVILEGES ON *.* TO 'user'@'%';

  • @mohamedahmed-vw6ee
    @mohamedahmed-vw6ee 2 ปีที่แล้ว

    thanks
    the last command in the comment needs to be updated the below one works for me
    GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION;

  • @Meowflow
    @Meowflow 7 หลายเดือนก่อน

    Ty bro!!!!

  • @nikushachavchavadze7425
    @nikushachavchavadze7425 3 ปีที่แล้ว

    Thank you !!!

  • @dussamcode
    @dussamcode 2 ปีที่แล้ว

    Thanks alot

  • @tinnawatmamuang6526
    @tinnawatmamuang6526 2 ปีที่แล้ว

    Thank you.