You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to connect MariaDB database via load balancer but getting below error.
node -v
v8.11.3
node mariasql_demo.js
events.js:183
throw er; // Unhandled 'error' event
^
Error: Host '192.168.5.13' is not allowed to connect to this MariaDB server
Code :
var Client = require('mariasql');
var c = new Client({
host: "xxx.xxx.xxx.xxx",
port: "3307",
database: "test_db",
user: "test_usr",
password: "******"
});
c.query('SHOW DATABASES', function(err, rows) {
if (err)
throw err;
console.dir(rows);
});
c.end();
And when i am trying with mysql its working fine with load balncer.
The text was updated successfully, but these errors were encountered:
mineexchange89
changed the title
Issue with Load Balancer - HAProxy, PorsySQL
Issue with Load Balancer - HAProxy, PorxySQL
Oct 8, 2018
Hello Team,
I am trying to connect MariaDB database via load balancer but getting below error.
Code :
And when i am trying with mysql its working fine with load balncer.
The text was updated successfully, but these errors were encountered: