RocketNuts
RocketNuts

Reputation: 11160

phpMyAdmin on macOS: where does it save config.inc.php?

Downloaded the latest phpMyAdmin to be used on macOS 10.15 Catalina (local webserver), extracted the phpMyAdmin files to my web root.

During the setup I chose config authentication and now when I visit the setup page I'm getting some mysqli error.

I deleted the entire phpMyAdmin/ dir and wanted to start all over again. However to my surprise, the previously entered (incorrect) server details are still there.

I would assume the any config.inc.php would be saved within phpMyAdmin's own dir, but apparently it's saving this data somewhere else.

How/where can I find it, so I can delete it and truly start a complete new phpMyAdmin setup from scratch?

P.S. I already tried:

But neither of these dirs exist.

Upvotes: 1

Views: 2480

Answers (1)

Isaac Bennetch
Isaac Bennetch

Reputation: 12462

If you've simply downloaded the phpMyAdmin file yourself and uncompressed it to your web root, then the config.inc.php file goes in that phpMyAdmin folder. If you've used brew or some other package manager, they each have their own location for configuration files, but that doesn't seem to be the case here.

It's not clear why the old server details have been retained, maybe your browser has cached the old page or something, but the only place that phpMyAdmin looks for the configuration is in the main folder. Is there a chance you're seeing the defaults, rather than some custom setting? (The defaults would be to use auth_type cookie connecting to host 'localhost').

What is the specific mysqli error message you're seeing?

Upvotes: 1

Related Questions