DC
Size: a a a
DN
АS
АS
DC
DC
АS
AT
async function connectToDatabase() {
const connection = await odbc.connect('DSN=ClickHouse DSN (ANSI)');
console.log("connection is open");
}
connectToDatabase();
const connection = odbc.connect('DSN=ClickHouse DSN (ANSI)', (error, connection) => {
connection.query('SELECT * FROM test.test_table', (error, result) => {
if (error) { console.error(error) }
console.log(result);
});
});
[Error: [odbc] Error retrieving the result set from the statement] {
odbcErrors: [
{
state: 'HY090',
code: 1,
message: 'Invalid string or buffer length'
}
]
}
undefined
Segmentation fault (core dumped)
cl
### Old way:
Server = localhost
Database = test
# UID = default
# PWD = password
Port = 8123
# Proto = http
AT
### Old way:
Server = localhost
Database = test
# UID = default
# PWD = password
Port = 8123
# Proto = http
cl
s
ML
ML
DC
s
s
S
ML
S