reinstalling phpmyadmin

Posted by explorex on Ask Ubuntu See other posts from Ask Ubuntu or by explorex
Published on 2011-01-06T07:02:27Z Indexed on 2011/01/06 7:59 UTC
Read the original article Hit count: 355

Filed under:

EDIT:: installed mysql-server but no phpmyadmin (since phpmyadmin was installed before mysql, that resulted an error). How to reinstall phpmyadmin with database (there is no phpmyadmin datbase)? unstalling it and reinstalling it didn't help.

i was trying to install phpmyadmin (and zend framework) through synaptic manager but in the middle i was prompted for password

i thought it was phpmyadmin password and i proceeded but i got error and i aborted. and then again i tried to reinstall, it reinstalled but i am not getting phpmyadmin.

EDIT::The following is invalid so please don't bother

apache is running but mysql is not

some of it's characteristics are:

santosh@explorer:~$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)

santosh@explorer:~$ sudo apt-get install mysql-server
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily  
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/),
is another process using it?

Should i be asking this question here or stackoverflow?

UPDATES::

after restarting my computer

 santosh@explorer:~$ sudo service mysql start
 [sudo] password for santosh: 
 mysql: unrecognized service

UPDATES::

santosh@explorer:~$ sudo apt-get install mysql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mysql

© Ask Ubuntu or respective owner

Related posts about phpmyadmin