mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 20:46:01 +00:00
fix: remove port from cassandra
This commit is contained in:
@@ -14,10 +14,8 @@ const driver = {
|
||||
...driverBase,
|
||||
analyserClass: Analyser,
|
||||
// creating connection
|
||||
async connect({ server, port, user, password, database, localDataCenter, useDatabaseUrl, databaseUrl }) {
|
||||
console.log('#conn', localDataCenter);
|
||||
async connect({ server, user, password, database, localDataCenter, useDatabaseUrl, databaseUrl }) {
|
||||
const client = new cassandra.Client({
|
||||
// port,
|
||||
// user,
|
||||
// password,
|
||||
contactPoints: server.split(','),
|
||||
|
||||
Reference in New Issue
Block a user