Adminer Evo: localhost refused to connect Linux Mint

What issue or error are you experiencing?

Clicking on “Open AdminerEvo” is opening http://localhost:10005/?username=root&db=local but giving an “NS_ERROR_CONNECTION_REFUSED” error.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Following these steps, I backed up my site, fully uninstalled Local, installed the latest version (9.0.5), restarted my computer and after importing my site, still get the same error logs (in local-lightning-verbose):

{"level":"debug","message":"Database responded to ping.","service": {},"serviceBinVersion":{},"thread":"main","timestamp":"2024-09-05T13:07:34.106Z"}
{"class":"WordPressInstaller","level":"info","message":"\"WP_ENVIRONMENT_TYPE\" already set to \"local\"","thread":"main","timestamp":"2024-09-05T13:07:35.444Z"}
{"class":"ImporterLocalExport","level":"info","message":"Updated wp-config.php.","thread":"main","timestamp":"2024-09-05T13:07:35.444Z"}
{"class":"SearchReplacerWPDatabaseDomain","level":"info","message":"Changing database domain for HMIylktDe","thread":"main","timestamp":"2024-09-05T13:07:35.477Z"}
{"level":"debug","message":"Database responded to ping.","service":{},"serviceBinVersion":{},"thread":"main","timestamp":"2024-09-05T13:07:35.492Z"}
{"class":"SearchReplacerWPDatabaseDomain","level":"info","message":"Changing database domain for HMIylktDe","thread":"main","timestamp":"2024-09-05T13:07:40.644Z"}
{"level":"debug","message":"Database responded to ping.","service":{},"serviceBinVersion":{},"thread":"main","timestamp":"2024-09-05T13:07:40.659Z"}
{"class":"ImporterLocalExport","level":"info","message":"Removing /tmp/local-by-flywheel-ZXLAmMNakC","thread":"main","timestamp":"2024-09-05T13:07:45.275Z"}
{"level":"debug","message":"Database responded to ping.","service":{},"serviceBinVersion":{},"thread":"main","timestamp":"2024-09-05T13:07:45.466Z"}
{"class":"Process","level":"verbose","message":"Spawned","pid":6216,"process":"php-adminer","thread":"main","timestamp":"2024-09-05T13:07:56.451Z"}
{"class":"Process","code":1,"level":"verbose","message":"PID: 6216 closed with","process":"php-adminer","signal":null,"thread":"main","timestamp":"2024-09-05T13:07:56.527Z"}
{"class":"Process","level":"verbose","message":"Spawned","pid":6254,"process":"php-adminer","thread":"main","timestamp":"2024-09-05T13:07:57.040Z"}
{"class":"Process","code":1,"level":"verbose","message":"PID: 6254 closed with","process":"php-adminer","signal":null,"thread":"main","timestamp":"2024-09-05T13:07:57.045Z"}
{"class":"Process","level":"verbose","message":"Spawned","pid":6256,"process":"php-adminer","thread":"main","timestamp":"2024-09-05T13:07:57.556Z"}
{"class":"Process","code":1,"level":"verbose","message":"PID: 6256 closed with","process":"php-adminer","signal":null,"thread":"main","timestamp":"2024-09-05T13:07:57.561Z"}
{"class":"Process","level":"verbose","message":"Spawned","pid":6279,"process":"php-adminer","thread":"main","timestamp":"2024-09-05T13:07:58.069Z"}
{"class":"Process","code":1,"level":"verbose","message":"PID: 6279 closed with","process":"php-adminer","signal":null,"thread":"main","timestamp":"2024-09-05T13:07:58.074Z"}

Reading Adminer Evo: localhost refused to connect on macOS, I decided to try 8.2.0 and it works fine.
However, 8.2.1 also works fine, so I don’t think it’s AdminerEvo.
Tried 8.3.2 and it also works fine.
Works in 9.0.2 and 9.0.3
But it breaks in 9.0.4!


System Details

  • Local Version:
    9.0.5
  • Operating System (OS) and OS version:
    Linux Mint 20.3
    Kernel: 5.4.0-193-generic x86_64 bits: 64 compiler: gcc v: 9.4.0
    Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una
    base: Ubuntu 20.04 focal

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
Logs from 9.0.4 (same as above)
error.log (2.6 KB)
local-lightning-verbose.log (17.8 KB)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Thank you for the follow up here @alex45617! Glad to hear things are working using that version. For anyone else checking here you can always find older versions of Local releases here:

@Nick-B, I did some further testing (updated the original ticket):

I decided to try 8.2.0 and it works fine.
However, 8.2.1 also works fine, so I don't think it's AdminerEvo.
Tried 8.3.2 and it also works fine.
Works in 9.0.2 and 9.0.3
But it breaks in 9.0.4

It seems this has also been reported in Support #43914 Database connection over a month ago.

Since it breaks in 9.0.4, do you think someone could take a look? I have attached relevant logs to the original ticket.

@Nick-B I just got tagged that rolling back to 9.0.3 is a work around for Database connection - #3 by Dirk as well. Thus, the bug is certainly introduced in 9.0.4 - can you raise this to the attention of some engineers?

Hey @alex45617

I’ve shared this with the Local devs, and they’ve filed a bug for it. We don’t have an ETA on when this will be addressed, so for now, you’ll want to remain on that 9.0.3 version if that is working for you.