Help to reinstall phpmyadmin

Hi, I installed a lamp server, including phpmyadmin, but something went wrong somewhere. Phpmyadmin did not install properly. I installed it before confirming that Apache and MySQL were working and running properly, which they weren’t, but now that are. Unfortunately, when I browse to phpmyadmin, I don’t get prompted for the root password, like I was expecting. Instead, I get errors. Rather than go through the hassle of manually configuring it, I’d rather just start with a fresh install of phpmyadmin, only I don know where it puts it configuration files, and I don’t yet know how to purge an installation in OpenSUSE like I could in Ubuntu. So, How do I clear out the config files of phpmyadmin, so I can do a clean install and hopefully have it work as expected? Or do you always have to manually configure phpmyadmin under openSUSE?

Hi,

On 2009-02-25, PenguinMigrations <PenguinMigrations@no-mx.forums.opensuse.org> wrote:
>
> Hi, I installed a lamp server, including phpmyadmin, but something went

What did you install? Which packages, versions? From where?
Which openSUSE version do you use?

> wrong somewhere. Phpmyadmin did not install properly. I installed it
> before confirming that Apache and MySQL were working and running
> properly, which they weren’t, but now that are. Unfortunately, when I
> browse to phpmyadmin, I don’t get prompted for the root password, like I
> was expecting. Instead, I get errors. Rather than go through the hassle

What errors?

> of manually configuring it, I’d rather just start with a fresh install
> of phpmyadmin, only I don know where it puts it configuration files, and

Well, openSUSE comes with a package for phpmyadmin, ask “rpm -ql phpmyadmin”
after installation for where it’s files are. Copy the config.inc.php.example
(or so) to config.inc.php .

> I don’t yet know how to purge an installation in OpenSUSE like I could
> in Ubuntu. So, How do I clear out the config files of phpmyadmin, so I
> can do a clean install and hopefully have it work as expected? Or do you
> always have to manually configure phpmyadmin under openSUSE?

That would depend on whether you extracted a tarball or used the rpm package.
In the case of the package for phpmyadmin, just copy the example config file
to config.inc.php.

Kind regards,
Andreas Stieger

Thank you very much. My phpMyAdmin is now working perfectly. I copied the sample config, as you suggested, then I had to add a string to the config file to encrypt the password in its cookie, now everything is great. Thanks Again.

ohh… in case anyone else has this problem and follows your directions, its rpm -ql phpMyAdmin, rather than rpm -ql phpmyadmin.