Questions tagged [dbclient]

11 questions
2
votes
1 answer

How to sequence a task to execute once all Single's in a collection complete

I am using Helidon DBClient transactions and have found myself in a situation where I end up with a list of Singles, List> and want to perform the next task only after completing all of the singles. I am looking for something of equivalent…
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
2
votes
1 answer

Dropbear ssh tunneling segfault on Android

I'm an android developer and we are trying to make a ssh tunneling between Android device and Linux Host. I'm using dropbear for this solution. Here is my steps: 1) I'm connecting to my host via dbclient with 0 port dbclient -i "$RSA_KEY" -f -N -R…
1
vote
2 answers

"python manage.py dbshell" for other DB Command-Line Clients (Django)

I read the documentation about "dbshell". Then, it says: Runs the command-line client for the database engine specified in your ENGINE setting, with the connection parameters specified in your USER, PASSWORD, etc., settings. For PostgreSQL, this…
Super Kai - Kazuya Ito
  • 22,221
  • 10
  • 124
  • 129
1
vote
1 answer

Can't authenticate to MongoDB with C++ code

I'm trying to connect to a local MongoDB with authentication but failing. DBClientConnection c; string errMsg; c.connect("localhost"); bool success = c.auth("ss1", "admin", "password", errMsg); auth() returns always false, and the errMsg is { ok:…
Ran P
  • 332
  • 2
  • 4
  • 11
1
vote
1 answer

Getting the ID of the row c# Mysql

Im was changing my Mysql databaseclient to the one of mysql.data.dll from the System.data.sqlclient. But before with sqlclient could I do this: public long insertQuery() { long lastInsertedId = 0L; try { …
Guus
  • 51
  • 6
0
votes
0 answers

Dropbear authentication error | No auth methods could be used

I am tyring to ssh to a remote server using dropbear from my embedded board (with custom Linux distribution built using yocto). By deafult the dropbear ssh client is used instead of openssh client. When I try to establish connection I get ssh:…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
1 answer

How to use pspg for mycli pager

I have this config on my .myclirc table_format = psql enable_pager = True This the output is not what I expeceted, I tried to set pspg on the [client] section on the .my.cnf but mysqldump will complain about. [client] pager = pspg -X…
zer09
  • 1,507
  • 2
  • 28
  • 48
0
votes
1 answer

Problem extending Spring WebFlux application with reactive DB client: conflicting Maven dependencies?

I have a small working Spring WebFlux app made basing on this code: https://github.com/chang-chao/spring-webflux-reactive-jdbc-sample As far as I've understood this is some kind of mix between purely reactive programming and usual blocking…
0
votes
0 answers

mycli - can't not show unicode message

I'm meeting a problem with show message UNICODE on console with mycli (with image attachment). Please help me how to config mycli to show message unicode beautiful. I was researched all source but can't…
Anh Vinh Huỳnh
  • 181
  • 5
  • 18
0
votes
1 answer

Assign variable to newly generated ID

I'm running this query in my new project: dbClient.setQuery("INSERT INTO `rooms` (`roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`,…
Yannick
  • 235
  • 3
  • 12
0
votes
2 answers

Insert LOTS of values in using dbClient

Currently I'm trying to insert a lot of values in my new project, but I can't figure out how to do that exactly. My 'simplest' SQL query is as follows, and this function works like it should: dbClient.setQuery("INSERT INTO `rooms` (`roomtype`,…
Yannick
  • 235
  • 3
  • 12