All Questions
Tagged with connection database
1,011
questions
-1
votes
0
answers
55
views
` java.sql.SQLException: No suitable driver found for jdbc:derby://localhost:1527/supermarketdb [closed]
I've been trying to set up my own REST API for a school project. I decided to use Apache Derby as a database and I want to connect it with my web service, but apparently, I always get this error ...
0
votes
0
answers
30
views
Getting an error while trying to connect MS Access database to netbeans [closed]
I am getting the error
java.sql.SQLException: No suitable driver found for jdbc:ucanacess://C:/Users/jin06/OneDrive/Documents/NetBeansProjects/MazeMania/MazeManiaUserbase.accdb
package mazemania;
...
0
votes
1
answer
32
views
Symfony Doctrine multiple DB to get connection for the 2nd database
I am using Symfony 7.1 to develop my API backend.
In my .env:
DATABASE_URL="mysql://root:[email protected]:3306/rsywx?serverVersion=8"
BLOG_URL="mysql://root:xxxxxxxx$@xxxx:3306/...
0
votes
0
answers
22
views
Lock down and share exactly same database connection instance between multiple Apache NiFi processors
I am learning and trying to use NiFi to solve data transferring tasks. Now I have a requirement to lock down a same database connection instance between multiple processors.
My flow steps like this:
...
0
votes
0
answers
22
views
Problems with multiple flask requests
I'm having a problem where I make 2 or 3 requests on the front-end and while one request is in progress it executes another, so it returns several types of errors:
sqlalchemy.exc.DBAPIError: (...
0
votes
0
answers
22
views
Connecting R to a datawarehouse
I am relatively new to R coding, and certainly new to connecting data. A colleague left me a script to create a connection between our datawarehouse and R. This datawarehouse brings together several ...
0
votes
0
answers
46
views
Java Netbeans + SQL Server - MVC - Date from Java is not saving in the database
I'm using the model MVC to create an inventory management system. I apologies that my code is some part in Spanish but I think it'd be easy to understand.
Everything was ok with my system. The ...
0
votes
2
answers
424
views
How to wait for DB connection in a Hono/Bun application using Drizzle ORM?
As part of learning Hono and Drizzle, I'm creating a simple Web Server with Bun.
// src/index.ts
import { Hono } from "hono";
import UserRepo from "./repo/UserRepo";
const app = ...
0
votes
1
answer
85
views
Laravel project fails to connect to database when using PHP artisan serve but works with MAMP
I have a Laravel project set up on my MacBook and I'm encountering an issue with connecting to the database when using PHP artisan serve. Here's the problem:
When I access the project via localhost/...
0
votes
0
answers
40
views
Is there a way in Laravel to use multiple connections simultaneously in a combined manner?
My Laravel configuration files and code are as follows:
config/database:
'mysql1' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL1'),
'host' => env('DB_HOST_1', '...
0
votes
2
answers
47
views
Cannot connect to an Oracle XE database from C#
The connection keeps timing out in this C# code:
private const string _connectionString = "User Id=c##BookingApp;Password=ftn;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=...
0
votes
0
answers
31
views
In Postgres, how to share the server along with the database that I created using pgadmin 4
I want to grant access of db to my friend,I have create role and grant him the access using this sql script and It ran successfully
-- CREATE ROLE friend_username WITH LOGIN PASSWORD 'friend_password';...
0
votes
1
answer
22
views
Empty Migration in first Migration in aspcor.net 8
This is my connection string :
"ConnectionStrings": { "EvSefDBConnection": "Server=.;Database=evsef_db;Trusted_Connection=True;MultipleActiveResultSets=true\"\"&...
0
votes
0
answers
10
views
Name space does not exits but I can not reference it too
My context is in on the other folder and when I want to add migration I see the name space does not exist. I know I had to add reference
I want To add reference from the current step but each time I ...
1
vote
0
answers
51
views
"pg: connection pool error" and the service never reconnect to db
I have two services, a backend and a DB. Backend is written in go, where i use go-pg v9 to manage DB connection; DB is a postgres DB. Those two services runs in two containers in a dedicated docker-...