reinstalling phpmyadmin
- by explorex
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