Questions tagged [jdbc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
110 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 (...
1
vote
0answers
58 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 ...
0
votes
1answer
101 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 ...
0
votes
0answers
2k 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 ...
0
votes
2answers
4k 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 ...
1
vote
3answers
118 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 - ...
0
votes
2answers
580 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 ...
0
votes
1answer
72 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> <...
0
votes
1answer
5k 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 ...
2
votes
5answers
14k 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:...
1
vote
2answers
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 ...
3
votes
1answer
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 ...
0
votes
1answer
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 ...
1
vote
1answer
7k 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 ...