Questions tagged [dbconnection]

230 questions
1
vote
2 answers

PHP Mongodb - db Connection Inside Body

Ok this is more of a PHP question than mongodb but since i am using mongo as the db i would like to know if there are any issues with both PHP as well as mongo when using the following technique. I have a page that holds all the html and design…
user982853
  • 2,470
  • 14
  • 55
  • 82
1
vote
0 answers

DB connection to the AWS istance

I need to set up PostgreSQL db connection for AWS instance. First i need to create a tunnel to the instance. I can do this with AWS CLI and session manager, by running: aws ssm start-session --target --document-name AWS- …
1
vote
0 answers

java.lang.NoSuchMethodError when connecting to Cassandra with Selenium

I am getting the below error: java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; at com.datastax.driver.core.policies.Policies$Builder.build(Policies.java:285) at…
1
vote
1 answer

bluehost is allowing only 25 mysql connections per user. Are they enough for a mid size woocommerce website

Recently I switched to Bluehost shared hosting and in a few months came to know of their hidden features. They have ridiculously low limit of 25 connections per user for mysql. Can I use it for a mid size wordpress (woo-commerce) site with around…
Nikhil
  • 21
  • 3
1
vote
2 answers

How to connect to remote oracle database using typeorm in nestjs?

I was wondering how to connect to remote oracle database from nestjs using typeorm. I installed typeorm and oracle package using following command. npm i --save @nestjs/typeorm typeorm oracle npm install oracledb --save and then tried configuring in…
ashish
  • 99
  • 1
  • 7
1
vote
2 answers

spring data jpa datasource connect to Oracle DB with trust store password

new spring boot application using spring data jpa and we need to connect oracle DB without password set in spring.datasource.password instead need to use connectionProperties with javax.net.ssl.truststore file and…
1
vote
0 answers

Oracle Db connection || finished with exit code 137 (interrupted by signal 9: SIGKILL)

I'm trying to connect to an existing DB on the oracle cloud but every time I try to execute the method that takes care of the connection, the execution returns this error: Process finished with exit code 137 (interrupted by signal 9: SIGKILL) This…
1
vote
1 answer

MvcMiniProfiler not working with Oracle's Connection Object

the last line of the following code triggers an exception: OracleConnection conn = new OracleConnection(getConnectionString()); // A SqlConnection, SqliteConnection ... or whatever // wrap the connection with a…
ClayKaboom
  • 1,833
  • 1
  • 22
  • 42
1
vote
0 answers

Error connection database mysql to spring boot (STS)

Here I encountered an error on my database connection. I've read some references but still can't find the answer to the cause of this error. Error detail =https://pastebin.com/rqTSh7sG Connection Database Program
shin0707
  • 11
  • 1
1
vote
1 answer

Problem with Db connection testing in java

I tried to testing my Dao class but it return this error for the class DbConnection: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or in an application resource file:…
Martha
  • 35
  • 1
  • 8
1
vote
1 answer

Db connect error in abstract class - anybody help me to find the bug?

Anybody help me to find what is wrong with the below code? I have class student.php extends db.php. Student.php db_connect(); …
Shibin Suresh
  • 363
  • 1
  • 2
  • 9
1
vote
3 answers

VS 2019 and MySQL Entity Framework duplicate database name

I added Entity Framework to my project but I call the toList() method and I'm getting an error: okuldbEntities ent = new okuldbEntities(); private void Form1_Load(object sender, EventArgs e) { dataGridView1.DataSource =…
imsiyat
  • 15
  • 6
1
vote
2 answers

PHP Fatal error: Uncaught Error: Call to a member function on null

I am very new to PHP and trying to send firebase push notification from my server using php . for that i call a function from another class to fetch the firebase token from my server and send firebase notification
developer
  • 135
  • 1
  • 2
  • 11
1
vote
1 answer

Mirth Channel Map Not Defined Error In Source Javascript Reader

I am using $c variables for db connectivity[i declared those variables in preprocessor script] in javascript reader as a source even I used channel map variables I am getting channel map not found error... Tried&Failed cases: 1.Added code template…
Shamie
  • 49
  • 8
1
vote
1 answer

how to connect IBM cloudant database to local python code?

from cloudant.client import Cloudant from cloudant.error import CloudantException from cloudant.result import Result, ResultByKey client = Cloudant("23000-xxx-yyy-0000-b9111111b-bluemix", "axx483d9xxxxxxxxx290ab34xx7a5421b3500f6c0002acfd", …