How to open phpmyadmin after xampp installed on linux?

377

Solution 1

With the command

sudo apt-get install 'lamp-server^'

you have installed a thing called task. But this task does not contain phpmyadmin.

You have to install it:

sudo apt-get install phpmyadmin

At this step :

enter image description here

Do not forget to check apache2 with Space, then Tab to select OK.

Solution 2

In the opt/lampp folder, you can see a phpmyadmin folder.So the phpmyadmin is exactly to be installed. Let's do the restart command again. sudo /opt/lampp/lampp stop sudo /opt/lampp/lampp start (if not start, please do it again.

And then, input http://localhost/phpmyadmin/ in you browser. It may work.

Share:
377

Related videos on Youtube

John Galt
Author by

John Galt

Updated on September 18, 2022

Comments

  • John Galt
    John Galt over 1 year

    So, I'm using this code:

    list_of_lists = []
    sample_list = ['1', '2', '3']
    
    for x in range(3):
        list_of_lists.append(sample_list)
    
    print(id(list_of_lists[0][1]),
          id(list_of_lists[1][1]),
          id(list_of_lists[2][1]))
    

    And the items in sublists, actually, are the same objects!

    >140324175479088 140324175479088 140324175479088
    

    If I want to change list_of_lists[0][1] to '0', all sublists will be changed accordingly.

    Why is it so? How to generate a list_of_lists from sample_list in a right way to make items in each sublist independent?

    • A.B.
      A.B. over 8 years
      What is the error message?
    • Lợi
      Lợi over 8 years
      Not Found The requested URL /phpmyadmin/ was not found on this server. Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80
    • Lợi
      Lợi over 8 years
      i use command. sudo apt-get update sudo apt-get install lamp-server^
    • hg8
      hg8 over 8 years
      You need to install phpmyadmin : sudo apt-get install phpmyadmin.
    • Lợi
      Lợi over 8 years
      @hg8 : how to choose config to run phpmyadmin? apache2 or lighttpd
    • hg8
      hg8 over 8 years
      See my updated answer : Navigate with TAB and select apache2 with SPACE ;-)
  • Andreas L.
    Andreas L. about 3 years
    This is the solution when you have already installed XAMPP, because there is no need to install phpmyadmin apart as it is by default included in the XAMPP installation. Just run sudo /opt/lampp/lampp start or sudo /opt/lampp/lampp restart in your console before opening manually http://localhost/phpmyadmin/ in a new browser tab.
  • Andreas L.
    Andreas L. about 3 years
    It is not necessary to install phpmyadmin part form the XAMPP installation, see answer of @Error1x.