Most voted "connection" questions
Referring to all types of connection (connection to database, other system, etc).
Learn more…201 questions
Sort by count of
-
1
votes0
answers1438
viewsjava.sql.Sqlexception: ORA-01000: maximum open cursors exceeded
I’m making the following mistake: java.sql.Sqlexception: ORA-01000: maximum open cursors exceeded From what I researched, the error happens when the maximum number of cursors is exceeded, and to…
-
1
votes0
answers249
viewsError connecting to database via Visual Studio
I am trying to add a database to my application, the first I got, however when trying to add another database is returned me the following error: A network-Related or instance-specific error…
-
1
votes1
answer3566
viewsMysql PHP XAMPP - Connect to database
Hello, I need to create a webservice, but I have little experience with php and mysql, so I have some questions, I am using XAMPP and Mysql Workbench, in Workbench I did the connection test and said…
-
1
votes2
answers521
viewsConnecting Elephantsql with java
I’m trying to make a connection with the Elephantsql (postgres) through java. With the same code I was able to connect to the local postgres (just changing the url, user, password). I’m trying to do…
-
1
votes0
answers197
viewsPHP 7 (Debian) connection error with Sybase 16
I have the following difficulty: I need to configure the PHP environment to connect to a Sybase 16 base. I am not a PHP programmer and I am helping another colleague. Everything that has been tried…
-
1
votes1
answer347
viewsWhich database connection is best?
I started working and am updating the company system, it currently uses this connection: $link = mysqli_connect("0.0.0.0", "teste", "teste", "teste"); mysqli_set_charset($link, "utf8"); if…
-
1
votes2
answers41
viewsHow to make connection alert?
good i am beginner in ajax and wanted to know how I can do a check of connection to the internet, and display message on the screen whether or not you have an active connection to the internet (I…
-
1
votes1
answer517
viewsError No suitable driver found while connecting with javaDB
I created a database using the javadb netbeans derby, then created a connection on port 1527 with the name of the Database being TEST. After that, I created the connection string below that should…
-
1
votes2
answers65
viewsProblem with variable connection to C# Visual Studio Database
I have my connection string that takes the connection variable from App.Config static String string_conn = ConfigurationManager.ConnectionStrings["bd1"].ConnectionString; However I put a function…
-
1
votes0
answers168
viewsAdd Product to Shopping Cart - PHP
Hello, I’m trying to make a virtual store in PHP, but whenever I add a product to the shopping cart the program can not access the database and take the product code to display. <?php…
-
1
votes1
answer133
viewsreverse connection in C#
I’m having a hard time using a reverse connection between client and server. Whenever I try to connect using Dns or Ip does not connect, if I use Localhost, 127.0.0.1, it connects perfectly. It can…
-
1
votes1
answer291
viewsStatement or Preparedstatement, for what reason avoid using Statement
What problems can happen if I use Statement instead of Preparedstatement on the JDBC connection to the database //Code using Preparedstatement, setting query values through methods Connection con =…
-
1
votes2
answers58
viewsAndroid + Volley with PHP connector returns error!
I am trying to connect and send a registration, via PHP Nector, from my Android application to SQL Server on the local computer. It’s returning "Error!" because it looks like Volley doesn’t see the…
-
1
votes1
answer169
viewsHow to make multiple database connections with Laravel 4.2
I have an app written on Laravel Framework 4.2, rotating in the PHP 5.6, in the Operating System Windows 7, connected to a mysql database, there was the need to make additional connection in another…
-
1
votes1
answer88
viewsFill variable with different types
I have many fields to pick up so it is very bad to make a function for each connection and they are uncharted banks so using something like the Entity Framework is also not feasible if (1 == 1) {…
-
1
votes0
answers272
viewsError accessing Rstudio 127.0.0.1
I’m trying to access Rstudio and this error appears: 127.0.0.1 refused to connect. Try: Check the connection Check proxy and firewall ERR_CONNECTION_REFUSED if I go in cmd and der ping: C: Windows…
-
1
votes1
answer50
viewsMostar image if not connected to the internet
Show a picture if the device is not connected to the internet Good afternoon gentlemen I’m new in Android programming, I’m using Android Studio Next I am developing an app that simply calls a…
-
0
votes1
answer5609
viewsSQL SERVER connection string for classic Asp
How do I create a connection string for CLASSIC ASP to connect to the Microsoft SQL Server database
-
0
votes1
answer107
viewsVirtual server EC2 receives requests but cannot access another host
I have a virtual machine on Amazon AWS with Ubuntu where I installed Apache2, PHP5 and Mysql. It was all running well, well configured, my site working very well on it. Until suddenly the virtual…
-
0
votes1
answer454
viewsIs DAL class required for database connection?
Is it necessary to create a file for a database connection? According to a teacher of a colleague of mine it is necessary to have this DAL class to make the connection with the bank. But the book…
-
0
votes1
answer2768
viewsHow do I connect a java program with oracle 10g?
I tried to make the code below but it didn’t work, I’m using Oracle 10g. import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet;…
-
0
votes2
answers6568
viewsConnect PHP with Oracle
I am trying to connect PHP (WAMP) with Oracle but get the following error: Call to Undefined Function ora_logon() Code I am using: $db = "(description = (address = (protocol = tcp) (host =…
-
0
votes0
answers31
views01: Connection failure with TOP
I’m trying to consume a web service that I’m not an administrator of. I can normally access your classes, objects and methods. The problem is when I call the method that expects to receive requests,…
-
0
votes2
answers1258
viewsConnection between Mysql and Firedac closes the application when enabled
I have developed an application that uses Firedac to connect to Mysql. But when I try to open it on a station, at the time when the Connected := True, the application is closed, without returning…
-
0
votes3
answers775
viewsIs it possible to mount a server that works from my computer?
I have a chat made in Delphi that works only on internal network, I also have his project in case you want to make any changes, and I was wondering if it is possible to make this chat work on remote…
-
0
votes1
answer296
viewsIs it possible to limit the speed of the Internet through Delphi?
Is it possible to limit the speed of the Internet through Delphi? Example, if my internet is 120 KB/s I can reduce it to 10 KB/s on my own computer?
-
0
votes0
answers680
viewsFirebird C# create a single connection to the database
I need to create in my application only a connection using the fbconnection that will be shared across the application. I performed this procedure as follows. I created a static class that provides…
-
0
votes3
answers2517
viewsHow to connect PHP 5.6 to Sql Server 2008?
I need to connect to a MS Sql Server 2008 BD with PHP 5.6 Have Development: Windows 7 64bits, with xampp Production Centos 7 I installed the Microsoft drivers. With this line of code $c = new…
-
0
votes1
answer103
viewsConnection problems with Postgresql(ghost URL)
I am working on a web java project and have a connection class with the Postgresql database ,which connects the database called BASE_X which performed well, but I made a copy of the project that has…
-
0
votes4
answers842
viewsWrite MYSQL data in en / UTF8 format
As I do to save data in the database in Brazilian format with accents, I used it in connection mysqli_set_charset($conexão, 'utf8'); but now my code is all in PDO as I do to save this data in utf8…
-
0
votes0
answers154
viewsError while emulating android via mobile
I’m creating a app for android and I was emulating him on my cell phone, everything was ok but from one day to another this message appeared : Error failed to connect to /192.168.0.103 (port 80):…
-
0
votes1
answer286
viewsConnection test
I have an application that will send some packages to the server. I would like to before sending, check if the server is available. And for that, I did the following: public static boolean…
-
0
votes0
answers157
viewsdatasource Connection, error while climbing Jboss
I am trying to make a data source connection on Jboss, but without success. I saw this tutorial to create my connection. Then the error occurred: Configurationpersistenceexception: Failed to parse…
-
0
votes0
answers78
viewsJavascript button perform action in php
Hello. I have a question :/ I’m making an anime site, with posting and etc, at first I thought I could do everything in javascript, however, now I had to use php to access the Database and etc.…
-
0
votes1
answer126
viewsError in Change - Java and Mysql method
Java masters, I’m working on a college project, using MVC layers, and I’m having trouble with the alterarClient method. When I click the Change button on the form, it sends a message saying that the…
-
0
votes0
answers418
viewsProblems connecting php to postgresql remotely
I’m trying to remotely connect postgresql to PHP on an Apache server. On my local machine I can run the connection without any problem. The point is that it is not working remotely. I’m running the…
-
0
votes1
answer93
viewsUse an sql class. Connection for each task or just a globally referenced one?
I have a class that is responsible for verifying the user’s account and password when logging in, and in the future I will need to implement another class to get other data in the database and…
-
0
votes0
answers58
viewsLocal dbf connection works but fails when remote
I have the code: string DbfConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DUMP\sgc\D; Extended Properties=dBASE IV;"; It works perfectly on my note, but when I put the…
-
0
votes1
answer769
viewsDatabase connection in Windows Form?
How to make/call the database connection in Windows Form? Knowing that the database configuration is in the app.config
-
0
votes0
answers361
viewsPHP Mysql connection performance on remote server
I am at all costs trying to improve the loading time of my pages, however I am suffering with a bottleneck. The connection between the web server(godaddy) and my database server(local with dedicated…
-
0
votes0
answers58
viewsMysql - VB - Connection error
I have an error, when trying to connect to Mysql in a report accompanied by a Reportviewer is making a mistake.. I have already tried to create a user with all access on Workbench in the previous…
-
0
votes0
answers316
viewsJAVA - error starting Hibernate application
I am having problems starting my application with Hibernate. I am programming in Java using Eclipse. Error message: Sep 20, 2017 2:40:36 pm org.hibernate.Version logVersion INFO: HHH000412:…
-
0
votes0
answers36
viewsConnection error in the Connection string
Hello, trying to connect my VS to Mysql by string connection I get every time error that the server was not found, as I should proceed? private void btnCadastrarConfirmed_Click(object sender,…
-
0
votes2
answers121
viewsPassword renewal system
My point is that I’m trying to make a password reset system. [ Current password ] [ New password ] [ Swap ] Good codes below Settings.php <?php require_once('assets/system/core.php'); if…
-
0
votes1
answer24505
viewsCould not connect: No connection could be made because the target machine actively refused them
I am trying to connect to my database. This is easyphp webserver 14.1. Follow php code for connection. <?php $HOST = '10.40.0.185:3388'; $USER= '*****'; // Aqui informei o usuário do meu banco…
-
0
votes0
answers26
viewsWarning: mysqli_select_db() expects Exactly 2 Parameters (did not find answer in the other topics)
I’m new to this programming business so I’m kind of stuck in this code, so I’d appreciate it if someone could help me. The following warning appears: Warning: mysqli_select_db() expects Exactly 2…
-
0
votes3
answers3185
viewsHow to connect my android application to an external database
I have a site with some tables in the mysql database. The site is already connected in the database. I have an application in Android Studio and would like to connect the application with the…
-
0
votes1
answer1049
viewsDatadirectory C#
I need a flexible connection string so that it automatically searches the program folder for file . mdf. My following code is like this: public Form1() { string relative = @"..\..\Database1.mdf";…
-
0
votes1
answer45
viewsPDO help using Mysql
I’m having trouble connecting the database using PDO, use Mysql. when executing the connection with the bank appear the following error messages: Fatal error: Uncaught Exception 'Pdoexception' with…
-
0
votes1
answer81
viewsError while disconnecting from Postgresql
I am trying to make an application in C# using SGDB Postgresql, but always when I close the connection gives the following error: Undefined object reference for an object instance. I’m using the…