Search This Blog

Friday, 7 October 2011

Install MySQL with PhpMyadmin in Ubuntu



  1. sudo apt-get install mysql-client mysql-server
    Specify the root password for the mysql server when prompted.
  2. sudo apt-get install apache2 
  3. Try http://localhost in your browser.
  4. sudo apt-get install phpmyadmin
  5. Add the following line in /etc/apach2/apache2.conf:
    Include /etc/phpmyadmin/apache.conf
  6. Now restart Apache:
    sudo /etc/init.d/apache2 restart
  7. Access phpMyAdmin under http://localhost/phpmyadmin