Conneciton timeout

Username (e.g. epiz_XXX) or Website URL

This account.

Error Message

errorno: ‘ETIMEDOUT’,
code: ‘ETIMEDOUT’,
syscall: ‘connect’,
fatal: true

Other Information

I am using the following data, I will censor the password. The error is not an incorrect password:

    "host": "",
    "user": "epiz_27638044",
    "database": "epiz_27638044_Utility_Bot"

Also, I’m using discord.js bot making.

connection.end() might have been executed before the call back see if this help

const Discord = require('discord.js');

const config = require("./config.json");

const { Client } = require('discord.js');

const client = new Client();

const ms = require("ms");

const Gamedig = require('gamedig');

const { readSync } = require('fs');

const { circle } = require('jimp');

const { createConnection } = require('mysql');

// Prepare the mysql connection

let db = createConnection(config.mysql);

// Then we are going to connect to our MySQL database and we will test this on errors

db.connect(err => {

    // Console log if there is an error

    if (err) return console.log(err);

    // No error found?

    console.log(`MySQL has been connected!`);


client.on('ready', async () =>


    console.log(`Logged in as ${client.user.tag}!`);



client.on('message', async msg =>





    if (msg.content === 'ping')






I don’t think that’s the case.

Remote MySQL is not supported in free hosting


You are you trying to connect MySql server within Infinity or is it Remote server?

If it’s local (Infinity Your account MySQL) then try using the password given in your Accounts page

Login to your account - InfinityFree epiz_xxxx/


he is trying to access it from Outside of Infinityfree network which is impossible.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.