Good day people, hope you all are doing well.
I need your help. To give context, I bought a Namecheap Stellar Plus Service with the intention of hosting Node, js application, mainly for the price because the budget is very low. My first attempt was good, I can upload the app and it keeps running well, the problems come when I tried to access the PostgreSQL Database I made using the wizard of the cPanel. I really don't know where is the error because I don't have access to logs in real-time.
I'm using Sequelize with this config file:
const sequelize = new Sequelize(
'the_database_name',
'the_database_user'',
'password_of_database_user',
{
host: '127.0.0.1',
dialect: 'postgres',
pool: {
max: 5,
min: 0,
require: 30000,
idle: 10
}
}
);
It's the first time I use phpPgAdmin and when I open it I feel a bit lost because I see things differently than the initial configuration... Like, I'm login with a default user and I can't access the default postgre superuser (I don't know the default password).
Can someone give me guidance to get my node.js app connected with the PostgreSQL Database?
I need your help. To give context, I bought a Namecheap Stellar Plus Service with the intention of hosting Node, js application, mainly for the price because the budget is very low. My first attempt was good, I can upload the app and it keeps running well, the problems come when I tried to access the PostgreSQL Database I made using the wizard of the cPanel. I really don't know where is the error because I don't have access to logs in real-time.
I'm using Sequelize with this config file:
const sequelize = new Sequelize(
'the_database_name',
'the_database_user'',
'password_of_database_user',
{
host: '127.0.0.1',
dialect: 'postgres',
pool: {
max: 5,
min: 0,
require: 30000,
idle: 10
}
}
);
It's the first time I use phpPgAdmin and when I open it I feel a bit lost because I see things differently than the initial configuration... Like, I'm login with a default user and I can't access the default postgre superuser (I don't know the default password).
Can someone give me guidance to get my node.js app connected with the PostgreSQL Database?