Codeginiter DB access error - codeigniter

I am using Codeigniter and whenever I access database that is connected one out of six requests I get the error below. Is this because I request too many times in a short time? I am able to connect database well besides this problem.
I wonder whether there is a time limit on request?
Thank you.
Message: mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: System error
Filename: mysqli/mysqli_driver.php
Unable to connect to your database server using the provided settings

Is your database setting correct?
hostname:localhost
username:root
password: //Blank in the

Related

Oracle SQL Developer Error: Connection (CONNECTION_ID=CUJgpQYpQbOXdhiXCUyR3Q==) Vendor code 17002 Issue

I am getting problem in connecting to my database in Oracle SQL Developer. Whenever I try to connect to my database, it gives me this error:
An error was encountered performing the requested operation:
IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=CUJgpQYpQbOXdhiXCUyR3Q==)
Vendor code 17002
Actually, I just use Oracle SQL developer to learn about queries running on a database. I have been using this database since a month but suddenly this error appeared now when I try to connect to the database directly or even manually. Please help me. Any help will be highly appreciated. Thanks in advance.
This is the screenshot for further details:
I tried to do it through an SSH tunnel but stuck there also.

Informatica Domain Configuration database connection during Powercenter installation

I am trying to install Informatica Server.
During domain configuration repository database information I get database connectivity error.
Error: Test Connection Failed. Correct the database connection information and test the connection again.
But when I connect using same details through Oracle SQL Developer to this database, it works fine.
I am using service name and port number field from the TNS File, still getting this error.
I think you can check tomcat log, catalina.out logs. This will help on finding out real issue.
Go to command prompt and type ping localhost and see if its responding anything. May be you can use IP and check host file.

Connect PowerBI to Google Big Query through a proxy server (corporate network)

We are trying to make a connection from PowerBI Desktop, to the Google Big Query Database. Upon starting the app and immediately after trying to make the connection to the Google Data Source, we get the error below:
Unable to Connect
We encountered an error.
Details: "ODBC: ERROR [HY000] [Microsoft][DriverOAuthSupport] (8701) Error interacting with REST API: Couldn't resolve host name
ERROR [HY000] [Microsoft][DriverOAuthSupport] (8701) Error interacting with REST
API: Couldn't resolve host name"
I suppose that it has something to do with the proxy used inside our corporate environment but i haven't found anything so far on what urls/ports should be opened in order for this connection to work.
Please do keep in mind that this is a new business need and it is not something that worked and stopped working.

Error Ora-12545 on APEX_WEB_SERVICE.make_request

I have an error when i try to connect to a web service using apex , it always gives error ORA-12545: Connect failed because target host or object does not exist i cant even connect to google, when i check dba_host_aces i have the permission to resolve and connect. the problem is that i am not sure if i need to do something with the oracle server to allow the apex to run or open ports or something, i have been using this guide oracle-base to make the function that calls the webservice

OBIEE Answers not showing results

I recently installed OBIEE 11.1.1.6.0. I imported the repository I had from 11.1.1.5 which was working fine till now.
In the administration tool, I can query my data and update the rows, I can connect with the same credentials as the connection pool without problems in SQLPLUS.
Users have the RESOURCE and CONNECT privileges.
My weblogic user as all the privileges and has been granted read/write to my Subject area.
I have set the environment variables, modified the instancesconfig.xml and tried all the things i could've found on the OTN but BI Answers continues to give me this ERROR
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000]
[nQSError: 10058] A general error has occurred.
[nQSError: 43113] Message returned from OBIS.
[nQSError: 43119] Query Failed:
[nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied at OCI call OCISessionBegin.
[nQSError: 17014] Could not connect to Oracle database. (HY000)
SQL Issued: SELECT 0 s_0, "SAP_AVIS"."Fait SAP AVIS"."Avis" s_1 FROM "SAP_AVIS" FETCH FIRST 65001 ROWS ONLY
Please help, I am desperate.
I have been able to resolve my OCI ORA-01017 error.
The problem was caused by my connection pools.
I had a connection amed "A" to access tables in a certain schema in my DB and another connection named "B" this time to access tables in another schema but in the same DB.
In Oracle BI Answers (presentation), I was trying to view data whitin the connection B but strangely OBIEE Answers was using the connection A.
In the end I removed/renamed the connection A and everthing worked like nothing never happend.
I am not saying that this is the best method. Maybe i skipped a config that assigns the default connection pool to use but it did the job.
Option 1:
Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory
Option 2:
Instead of using tnsnames.ora entry in the RPD, use the full expanded tnsnames.
I have never faced this issue, so I'm not sure this'll work or not but you can try. Option 2 might just do the trick.
Vijay.
For me oracle client was not installed,
when I Installed the oracle client problem got solved

Resources