Well I removed it again from the terminal without removing the database as I could not remove it because I don't know the password. Then I reinstalled. It did work, but I got this feeback:
Code:
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Replacing config file /etc/phpmyadmin/config-db.php with new version
dbconfig-common: flushing administrative password
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
invoke-rc.d: unknown initscript, /etc/init.d/apache not found.
invoke-rc.d: unknown initscript, /etc/init.d/apache-ssl not found.
invoke-rc.d: unknown initscript, /etc/init.d/apache-perl not found.
Lighttpd not installed, skipping
invoke-rc.d: unknown initscript, /etc/init.d/lighttpd not found.
Then I went to http://localhost/phpmyadmin entered phpmyadmin as user and the password. Then I got this same persistent error:
Code:
#0 PMA_sendHeaderLocation(http://localhost/phpmyadmin/index.php?token=4881d3e9fffb5ad42437e6c41e9a5ddd) called at [/usr/share/phpmyadmin/libraries/auth/cookie.auth.lib.php:612]
#1 PMA_auth_set_user() called at [/usr/share/phpmyadmin/libraries/common.inc.php:821]
#2 require_once(/usr/share/phpmyadmin/libraries/common.inc.php) called at [/usr/share/phpmyadmin/index.php:34]
I went into mysql from ssh again using mysql -u -p and saw that I do have a database phpmyadmin now. Now I just need to get into it without these errors!!
Bookmarks