• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question using wiki.js docker error connection database

fferraro87

Basic Pleskian
Hi,
i'm trying to use wiki.js with docker so i've run requarks/wiki docker and i've set that variables :
screenshot.jpg


but when i run this docker i've connection error to database, i've double check environment variables and like wikijs documentation said (Docker) they are correct. so why i cannot connect to mysql db on localhost?
Any help is appreciated!
Thanks
 
Host as localhost will definitely not work.

Also ensure that DB access to the user is allowed from external hosts.
 
Back
Top