I am trying to connect Wiki.js to a MySQL database in which I can add documents and stuff. In this, the guide tells me to make a config file, shown below.
db:
type: mysql
host: localhost
port: 443
user: root
pass: password
db: wikijs
ssl: false
Upon trying to connect I get the following error message;
2022-10-22T11:13:08.937Z [MASTER] error: Database Connection Error: ETIMEDOUT undefined:undefined 2022-10-22T11:13:08.937Z [MASTER] warn: Will retry in 3 seconds... [Attempt x of 10]
Powershell Image of error code
Full PowershellOutput
What am I doing wrong?
EDIT: Added the full output
1条答案
按热度按时间dbf7pr2w1#
Port 443 was the incorrect port. Switching it to 3306 fixed the problem.