98
questions
-1
votes
2
answers
60
views
Docker postgres connectivity isuue
Can anyone help me please with this?
what I run:
docker run --name pgres --rm \
-e POSTGRES_USER=uzer \
-e POSTGRES_PASSWORD=1234 \
-e POSTGRES_DB=sample_db \
-p 5432:5432 postgres:14....
0
votes
0
answers
138
views
How to store data (real time) get from the energy meter to SQL Server database (to get data I use modscan software)
I want to get the power values of energy meter to PC and store it in a SQL Server database as shiftwise (like 8am to 5pm) and display the organized values through Windows Forms interface. I have used ...
0
votes
0
answers
404
views
import mysql.connector, ModuleNotFoundError: No module named 'mysql'
I am encountering an issue with a ModuleNotFoundError when trying to import the mysql.connector module in my Python script. I have already installed the module using pip install mysql-connector-python,...
0
votes
0
answers
32
views
I am currently practicing Spring Boot with Mysql database and after running application getting this error for employeeRepository [duplicate]
BootjpaexampleApplication.java
package com.jpa.test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework....
-1
votes
1
answer
51
views
Java Database Exceptional error that is very unique
am getting the error shown from this code:
enter image description here
private void formComponentShown(java.awt.event.ComponentEvent evt) {
try{
...
0
votes
0
answers
99
views
How to resolve the below error while running a c program to connect to Ms SQL server from Linux fedora7 using mssqlodbc
How to resolve the below error while running a c program to connect to Ms SQL server from Linux fedora7 using mssqlodbc
Need to connect to Ms SQL server from c app on Linux fedora7 using msqlodbc
gcc -...
1
vote
0
answers
393
views
Spring Boot error with multiple data-sources :: dataSource or dataSourceClassName or jdbcUrl is required
I can see following error in my Intellij local for sometime now.
Caused by: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required.
I have multiple data-sources ...
0
votes
1
answer
427
views
In my flutter app when I turn off my internet it crashes with some exception. It does not work even after internet is turned on
If possible Try to solve using providers and connectivity plus packages.
I have an app named BadOne. I have connected this app to the MongoDb. I am not doing any operation yet I am just but I am able ...
0
votes
0
answers
138
views
Connect Azure SQL database with on prem Tableau server
I need to connect an on premises Tableau report server, whose port 433 is open, with Azure SQL server with port 1433 open.
Direct connectivity from on-prem Tableau desktop app with Azure SQL server is ...
1
vote
0
answers
209
views
Is it possible to avoid warning when using LOAD DATA LOCAL INFILE to import duplicates
I have a table errors with the following columns : id_error, product_id, error_code which is already filled up with some errors. I am using id_error as a primary key and I added a UNIQUE index ...
0
votes
1
answer
711
views
How come I'm getting authenticate error, but when I login via the app, I am able to log in
com.microsoft.sqlserver.jdbc.SQLServerException: Failed to
authenticate the user [email protected] in Active Directory
(Authentication=ActiveDirectoryPassword). at
com.microsoft.sqlserver.jdbc....
1
vote
1
answer
4k
views
Error in Connecting Visual Studio 2019 with Oracle 19c
I have installed oracle 19c 64 bit version on my computer. And I have installed Visual Studio 2019. Below are the details of my visual studio installation.
Microsoft Visual Studio Community 2019
...
0
votes
2
answers
140
views
The method 'getUsers' was called on null. Receiver: null Tried calling: getUsers()
I am getting error on red screen right after i run my app. My first screen is login screen. I want to simply register the user and login the user. but when i use the getUsers() or getLogin() I get the ...
0
votes
1
answer
202
views
Can a Java application connect directly to EnterpriseDB Advanced Server?
Team,
I have a Java application that I want to access EnterpriseDB (EDB) Advanced Server. For example:
myJavaApp => EDB Advanced Server v11
or does the connection look like this
myJavaApp => ...
0
votes
1
answer
763
views
can we take user input using python for mysql table values?
I tried taking input,but its showing error.
raise errors.ProgrammingError(
ProgrammingError: Not all parameters were used in the SQL statement
A part of code that i tried,
`#D_O_B
import datetime
...
0
votes
1
answer
926
views
Pyodbc is only accepting windows authentication
I'm having one python script which connects to the MS SQL server from windows via pyodbc. When trying with windows authentication, it is getting connected to the database, but when trying with SQL ...
0
votes
2
answers
307
views
Do Jdbc driver program like ojdbc6_g.jar contains main() method?
Is Jdbc driver programs like ojdbc6_g.jar is an standalone application or it is only a library file which doesn't have main() method in the main class?
-1
votes
1
answer
702
views
Remote postgres database disconnects frequently on azure
I have installed Postgres(11) on Azure, I am connecting to it using Datagrip client, The problem is it disconnects very frequently and connects back when I run some query, takes nearly 5 seconds to ...
0
votes
1
answer
5k
views
TNSPING response time
I am connecting to a 12c database from my client machine using 12c oracle client. Below is my TNS entry.
PLMDEV1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sesbexa3-scan2.exadata....
-1
votes
1
answer
161
views
Getting the value of the primary key of the first table into the foreign key of the second table using two forms
I have created a JSP page to register new users.In the registration form, there are 5 fields where the users enter their details.
After pressing the submit button they will be taken to another page ...
0
votes
1
answer
2k
views
Passing data to a stored procedure that accepts Table Valued Parameter using pyodbc
Trying to send data to a stored procedure that accepts Table Valued Parameter. Getting following error:
[Error] ('HY004', '[HY004] [Microsoft][ODBC SQL Server Driver]Invalid SQL data type (0) (...
1
vote
3
answers
2k
views
Error on connecting AWS RDS to Google Sheets using Google App Scripts
I'm trying to connect AWS RDS to Google Sheets, but all i get is
Failed to establish a database connection. Check connection string, username and password.
I have tried the method found in ...
0
votes
3
answers
465
views
I want to create a shared database c# windows form application?
This application that i am trying to create, whose "instances/copies" will be installed on multiple PCs of the client and are able to access the same database from another PC of the same client that ...
-1
votes
1
answer
2k
views
Error creating SQL Model Connection connection to Oracle 11g database
I am trying to generate entity classes from oracle 11g database tables using JPA project in STS 4 IDE
I am setting following properties for database connection
jdbcurl = "jdbc:oracle:thin:@...
0
votes
1
answer
219
views
Java Sql Exception After End of Result Set
My code works fine but when I try to run the code it first shows java.sql.SQLException:After end of result set. I would like to know what is causing this and how to fix this as this is for a graded ...
0
votes
0
answers
134
views
How to move forward to next from login button to agent information form?
I want to open agent form after clicking on the button login, which I can't understand.
I have a table named agent having attributes User_Name, Password, First_Name and Last_Name.
I take input from ...
4
votes
2
answers
9k
views
Got an error reading communication packets in Google Cloud SQL
From 31th March I've got following error in Google Cloud SQL:
Got an error reading communication packets.
I have been using Google Cloud SQL for 2 years, but never faced with such problem.
I'm ...
0
votes
1
answer
729
views
HSQLDB never closes DB connection
I'm playing with this kind of database, and I've tried to close the HSQLDB connection after I used it, but it's still opened at the end.
Code:
//----This methods are in a specific connection class ...
11
votes
7
answers
61k
views
MongoParseError: Invalid connection string
I am trying to connect MongoDB database with this code but when running it I get the error (see the error below after the code). The initial error was in the line where it was resolved by adding ...
0
votes
0
answers
396
views
Why is this java code not saving data in database?
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
try{
try (Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/crm","root","")) {
...
0
votes
0
answers
55
views
How to Set A connection String before Building a c# Application so that it can be run on Client Computer
I Just made an application in C# using Visual Studio and create databases in SQL Server 2012. Now I have to Build the application and install in Client PC. The Problem is that Connection String is Set ...
0
votes
4
answers
3k
views
What is the table name?
I am creating a Spring Boot application using the H2 database. I am constantly getting the following error:
Table "THINGS_TO_DO" not found; SQL statement:
insert into things_to_do (id, name, ...
0
votes
1
answer
2k
views
Teradata - Find the Teradata servers I can connect from linux
We have a Linux UAT machine on which our datastage, shell, teradata scripts are configured and we can execute jobs/scripts from this server. We have different Teradata environments(SIT, UAT, PAT, ...
0
votes
0
answers
231
views
How to connect to Oracle database through my website using PHP? My data is hosted in AWS RDS
I am unable to connect to Oracle database hosted in AWS RDS through my website.
Do we need Oracle client for that? If yes, how to implement that at our end?
I have this code:
<?php
$tns = " ...
0
votes
0
answers
542
views
Java - not supported yet error message
this is part of my code for one of my frames:
public Details(String abc) {
initComponents();
jLabel5.setText(abc);
}
//To change body of generated methods, choose Tools | Templates.
...
1
vote
2
answers
992
views
Generic way to test connection string of various rdbms
I am having different data source like mysql, SQL Server and Oracle and for each of the data source i will test the whether handshake with the server is successful or not based on the connection ...
0
votes
1
answer
128
views
Am I missing a step in generating entity classes from a darby database using Netbeans, or is there an error with my Glassfish server?
I am trying to run a simple Java EE application using NetBeans, Darby and Glassfish. The application will not run as the Glass fish server encounters an error during the initial stages of deployment:
...
-1
votes
3
answers
15k
views
Vertica Python Connection
I'm trying to connect to a Vertica database via Python. Here is what I have so far.
Using vertica_python:
! pip install vertica_python
from vertica_python import connect
conn_info = {'host': '192....
-1
votes
1
answer
63
views
DataBase connectivity in wordpress
In WordPress how to store the data submitted from a form to a database through php file? I used many plugins but still can't find the solution
0
votes
0
answers
835
views
PDO execute return false [duplicate]
Hey I am practicing login system with oop from codecourse.Till the database connectivity everything moving in right direction but when i try to run query execute return false.
class DB{
private ...
0
votes
0
answers
46
views
Why is it not possible to connect Android directly with Oracle [duplicate]
While trying to build a direct connection between an Android app and the Oracle database, i have gone through a lot of posts and tutorials saying it`s not possible. However, it was never clearly ...
0
votes
1
answer
694
views
what is the informix connection string to run a sql file through windows command prompt?
I am new to informix, I would like to know what is the connection string of informix to run a sql file through windows command prompt. for example to run sql file in windows command prompt with mssql ...
1
vote
2
answers
3k
views
Oracle Error: ORA-12154: TNS: could not resolve the connect identifier specified
I am new in oracle. I am using windows 10 64 bit, Oracle XE 11g, visual studio 2010 and vb.net. But Why I am getting
error:
related to listener always when I turn off or hibernate my machine
...
0
votes
0
answers
53
views
interchange rows and columns in java using database connectivity
My MySQL table looks like this:
UIN Body_Type Brand Model Variant
1 Sedan Skoda Rapid MPI
2 Hatchback Ford Fiesta TDC
3 SUV Renault Duster RXE
But ...
0
votes
1
answer
2k
views
Using Access database with C# on another computer
This feels like a dumb question but I am a bit confused. I am building a C# address book application (Windows Form) that adds, deletes, selects, and updates contacts to an Access database and I'm ...
0
votes
1
answer
807
views
getting ORA-12545 even though host name is correct
I am try to access remote database by making these changes to my tnsnames.ora file (sorry won't declare host names and service name here)
MYDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =...
0
votes
0
answers
49
views
Access Database Error
I am using MSAccess in which I have created a table booking and the name of the database is Project. When i run the file it gives following error:
The Microsoft Jet database engine cannot open the ...
0
votes
0
answers
793
views
Python 3.5 ibm_db2 can't install
I'm quite new to python, but I need to connect with my python to a DB2. I'm trying to install the Python extension since a few hours and I can't get to a result.
When I'm installing the extension ...
1
vote
2
answers
15k
views
ODBC Driver for SQL Server vs SQL Server Native Client
If I use linked tables in Access 2010 to connect via ODBC to SQL Server 2014 Express, which driver is better?
ODBC Driver 11 for SQL Server
SQL Server Native Client 11.0
The image shows the ...
0
votes
2
answers
152
views
Inter-related combo boxes in WPF
I am using WPF C# in my project.
My UI contains 4 combo boxes ,each will be loaded by the values from database.
Now all 4 comboboxes are displayed at a time.
But what I want to do is,First combo box 1 ...