Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Ubuntu Server Lamp,but no phpmyadmin?

  1. #1
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Ubuntu Server Lamp,but no phpmyadmin?

    Hey guys,

    I installed LAMP on my ubuntu server not to long ago, and I am trying to make a wordpress site for it, and to do so I need access phpmyadmin and for some reason when I go to my browser and enter

    "my ip"/phpmyadmin

    i get
    Not Found

    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.14 (Ubuntu) Server at 192.168.x.x Port 80


    advice?

  2. #2
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: Ubuntu Server Lamp,but no phpmyadmin?

    Quote Originally Posted by BStrizzy View Post


    advice?
    yes, google and look the documentation.

  3. #3
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Ubuntu Server Lamp,but no phpmyadmin?

    AFAIK phpmyadmin doesn't get installed as part of a "standard" LAMP installation.

    I've found that the services provided by installing webmin instead usually meet my needs, including several of the tasks that one would use phpmyadmin for.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  4. #4
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Exclamation Re: Ubuntu Server Lamp,but no phpmyadmin?

    Quote Originally Posted by lisati View Post
    AFAIK phpmyadmin doesn't get installed as part of a "standard" LAMP installation.

    I've found that the services provided by installing webmin instead usually meet my needs, including several of the tasks that one would use phpmyadmin for.
    ok i tried the apt-get install phpmyadmin and it says its already installed

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu Server Lamp,but no phpmyadmin?

    Purge phpmyadmin and reinstall it.

    Code:
    sudo apt-get purge phpmyadmin && sudo apt-get install phpmyadmin
    Be sure to select the correct web server during configuration.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Exclamation Re: Ubuntu Server Lamp,but no phpmyadmin?

    Quote Originally Posted by CharlesA View Post
    Purge phpmyadmin and reinstall it.

    Code:
    sudo apt-get purge phpmyadmin && sudo apt-get install phpmyadmin
    Be sure to select the correct web server during configuration.

    got an error for some reason
    Attached Images Attached Images

  7. #7
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu Server Lamp,but no phpmyadmin?

    When you set up your LAMP server, did you change the default mysql port (3306)? Is mysql even running?

    Code:
    ps -ef | grep mysql
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  8. #8
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Exclamation Re: Ubuntu Server Lamp,but no phpmyadmin?

    Quote Originally Posted by tgalati4 View Post
    When you set up your LAMP server, did you change the default mysql port (3306)? Is mysql even running?

    Code:
    ps -ef | grep mysql
    this is what I get when I enter that code:

    bstrizzy@nova:~$ ps -ef | grep mysql
    mysql 2511 1 0 14:04 ? 00:00:07 /usr/sbin/mysqld
    bstrizzy 4431 4428 0 18:23 pts/0 00:00:00 grep mysql
    bstrizzy@nova:~$

    I am not sure if my sql is running and not sure how to start it if that.

  9. #9
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu Server Lamp,but no phpmyadmin?

    To start any process:

    Code:
    cd /etc/init.d
    ls -la
    sudo apache start
    sudo mysql start
    Apache may automatically start mysql, so you will just get a message that mysql is already running.

    If you are going to run web services, you will need to become familiar with all of the services listed in /etc/init.d.

    Basic commands are start, stop, restart.

    Your output shows that it ran for 7 seconds and then it probably quit. Usually you get a few mysql entries with your username. Look for mysql errors in /var/log/mysql.err or mysql.log. The "d" in mysqld stands for daemon--a process that runs in the background and controls things, but remains hidden--sort of like--a demon.
    Last edited by tgalati4; January 13th, 2013 at 05:55 AM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  10. #10
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Exclamation Re: Ubuntu Server Lamp,but no phpmyadmin?

    Quote Originally Posted by tgalati4 View Post
    To start any process:

    Code:
    cd /etc/init.d
    ls -la
    sudo apache start
    sudo mysql start
    Apache may automatically start mysql, so you will just get a message that mysql is already running.

    If you are going to run web services, you will need to become familiar with all of the services listed in /etc/init.d.

    Basic commands are start, stop, restart.

    Your output shows that it ran for 7 seconds and then it probably quit. Usually you get a few mysql entries with your username. Look for mysql errors in /var/log/mysql.err or mysql.log. The "d" in mysqld stands for daemon--a process that runs in the background and controls things, but remains hidden--sort of like--a demon.
    strizzy@nova:/etc/init.d$ sudo mysql start
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    bstrizzy@nova:/etc/init.d$ sudo apache start
    sudo: apache: command not found
    bstrizzy@nova:/etc/init.d$ sudo mysql start
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    bstrizzy@nova:/etc/init.d$ cd /var/log/mysql.err
    -bash: cd: /var/log/mysql.err: Not a directory
    bstrizzy@nova:/etc/init.d$

    I am just going to remove all the packages and start lamp stack over. i tried already but when i did i got an error message. if you scroll up a lil bit, you can see a screen shot of the error i get when im trying to delete it

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •