Questions tagged [jdbc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
13k views

How to set up the jdbc driver to connect to hsqldb from libreoffice?

I am trying to "split" a LibreOffice .odb file into a HSQL database and an OpenOffice document containing forms and macros. I am trying to follow the instructions from this thread: Within a few ...
rumtscho's user avatar
  • 3,994
2 votes
5 answers
15k views

Sqldeveloper /as sysdba connection

I'm a total newbie in Oracle. I installed Oracle 11g XE R2. Also I installed SqlDeveloper 3.2.20.09 version. I generated auto connections, and I have 2 connections. One is: /as sysdba and another:...
enigmaticus's user avatar
2 votes
1 answer
9k views

What basic linux command-line utility can I use to test a JDBC connection?

I'm troubleshooting an issue with importing data to Apache Solr from a MS SQL Server database via a JDBC connection. Solr is hosted on a CentOS linux machine, and SQL Server is (of course) on a ...
STW's user avatar
  • 1,866
1 vote
3 answers
141 views

Can I interrogate the Linux operating system through a SQL interface? [closed]

E.g. for crontab. I don't want to parse it. I want to run a sql query vs (as a minimum) a jdbc-compliant connection (automagically provided provided by Linux, that returns exactly that). But I mean - ...
lucid_dreamer's user avatar
1 vote
2 answers
3k views

Reading an Access database from Java (Eclipse)

I'm using Windows 7 (64-bit). I installed 64-bit versions of Eclipse and JRE, but when I tried to read from Access I got problems. The only way to use ODBC seems to be by using a 32-bit variant, but ...
Lena's user avatar
  • 19
1 vote
0 answers
156 views

DBCP Connections pool connection stuck after no using

We stuck with a strange issue in java with Oracle connections pool If java program gets new data all the time no issue discovered. But if for a long period no requests to DB, and we try make a ...
Ilya Li's user avatar
  • 11
0 votes
1 answer
6k views

How do I compare database values in JMeter

I am setting some values in database using REST request via JMeter and I want to verify the set values are committed into database. I'm able to access mysql database using JDBC driver in JMeter ...
TusharG's user avatar
  • 1,422
0 votes
1 answer
2k views

SQL SERVER 2000 JDBC DRIVER

I am trying to find the SQL SERVER 2000 JDBC Driver to use in extracting data from SQL SERVER and also carrying out several operation implemented in Java/JSF. Any idea where I could get my hands on ...
sys_debug's user avatar
  • 103
0 votes
0 answers
29 views

R can't connect to Druid cluster only on rstudio-server

I'm running these lines to get R connected to a Apache Druid cluster: > library("RJDBC") > conn_string = "jdbc:avatica:remote:url=http://<broker_url>:8082/druid/v2/sql/...
Juliano B. Nequirito's user avatar
0 votes
1 answer
2k views

MySQL apparently running but not listening on TCP, jdbc can't connect

I am running MySQL on Ubuntu. mysql cli, as does http://localhost/phpmyadmin, but I cannot connect using java.sql.DriverManager.getConnection: java.net.SocketException: Network is unreachable (...
spraff's user avatar
  • 2,118
0 votes
1 answer
221 views

Yugabyte - how to set JDBC connection string

On Yugabyte DB, could not find in any documentation how to deal with connection string (JDBC specifically) to make sure App (re)connects to any of surviving cluster nodes in case one node fails? All ...
Petr Tučňák's user avatar
0 votes
0 answers
3k views

mongoDb connectivity issue with cluster

I am new to using Mongo DB data base and need help in establishing JDBC connection, I have followed instructions available online but some error is occurring. import com.mongodb.MongoClient; import ...
Sudhanva Paturkar's user avatar
0 votes
2 answers
6k views

MySQL access denied for user connection with JDBC

I just did a new install on Ubuntu 16.04 and MySQL 5.7. Im able to connect on the command line by my application running in Tomcat is getting access denied for the same user. Here is how I created my ...
Daniel Cosio's user avatar
0 votes
2 answers
617 views

Strange error from Easy Tomcat 7 connecting to MySQL database

I'm fairly new to Java servlet and web app development, but this is puzzling. I have built a project in Eclipse (Mars) that consists mostly of static HTML pages with one JSP that contains a form that ...
HoosierCB's user avatar
0 votes
1 answer
75 views

WEB-INF/web.xml displays mysql credentials?

I found web.xml in /WEB-INF/ on a domain I'm associated with. In said xml file, I see it displays: <database> <jndi-name>jdbc/mysql</jndi-name> <driver> <...
zooGorilla32's user avatar