Most voted "connection" questions
Referring to all types of connection (connection to database, other system, etc).
Learn more…201 questions
Sort by count of
-
20
votes3
answers14671
viewsWhat is the difference between Statement and Preparedstatement?
When I paid for the database chair, we worked with the bank alone, with no connection to an application that interacted externally with the DBMS. Only then was presented the JDBC(Java Database…
-
15
votes2
answers1506
viewsHow is the algorithm of a P2P application?
There are several P2P programs, I know that the concept is that each computer is like a client and server at the same time, and that they communicate with each other. On this type of communication:…
-
11
votes2
answers2109
viewsHow to advertise server IP on the network?
I am developing an application composed of a server NodeJS which shall provide data in JSON for customers, in case an application for Android, all running on internal network. I have already managed…
-
10
votes1
answer3855
viewsReceiving data via serial connection C#
I need to do a program that has to send a command to a radio connected via serial port and this returns your ID. The connection to the port and the sending of data is ok, when I send something the…
-
8
votes1
answer558
viewsIs it possible to define a connection pool for each user of an oracle database?
I searched the oracle documentation and only find ways to change this image, but nothing about creating another. Does anyone there know if it is possible what I am ordering? And how to proceed?…
-
7
votes2
answers2973
viewsWhat’s the difference between socket and port?
Developing a app service-oriented, I came across the following question: What is the difference between door and socket within the computational framework?
terminology socket connection networks architecture-computersasked 6 years, 10 months ago Alexandro Campos 81 -
6
votes1
answer781
viewsConnection pool with ADO.NET and Sqlconnection Dispose, what is correct to do?
I asked a question yesterday about What is the difference between Idisposable implementations? I was implementing a class to help obtain instances of SqlConnection, SqlCommand, SqlDataReader methods…
-
6
votes1
answer890
viewsHow to maintain multiple connections with postgresql in Node.js?
I am used Node.js in a task where I need to migrate data between two Postgresql databases. The idea is more or less the following: Connect to Bank A. Connect to Bank B. Return all records from A.…
-
5
votes3
answers2818
viewsCheck Mysql Connection Existence in PHP
I had this question recently, how to check if there is an open connection with mysql? Everyone knows that to use the mysql_real_escape_string need to have a connection right, so I wanted to check if…
-
5
votes2
answers427
viewsView "View" from Postgres in Mysql. Is it possible? How to Do?
Is there any way to view a View created in Postgres and view in Mysql? If so, how to configure?
-
5
votes4
answers1224
viewsHow to exchange data between a mobile(android) and another device through Bluetooth communication?
How can I connect and disconnect with any device through Bluetooth communication and then exchange (send and/or receive) data?
-
5
votes1
answer1484
viewsError connecting to SQL Server using Codeigniter
I have an error when connecting the database in my Codeigniter project, I am using SQL Server. $db['sql'] = array( 'dsn' => 'DRIVER={SQL Server}; SERVER=HOSTPT-01407; DATABASE=localidade;',…
-
5
votes1
answer1210
viewsTest effective internet connection
I have an app where I do a connection test before consulting a webservice, just to display a message to user who has no internet connection. I use a method this way: public static boolean…
-
4
votes1
answer499
viewsHow to adapt APP that uses TCP protocol to 3g connection?
I am developing an APP for Android and used direct TCP connection and also HTTP requests. For the perfect functioning of my application being connected on a 3g network instead of Wifi, I need to…
-
4
votes2
answers824
viewsCustomize error messages on database connection
Good here in the stack I found some topics that helped me, I’m new with PHP, and I wanted to make my connection return a custom message without making it show those warnings. Only when I add the…
-
4
votes1
answer624
views"The resultset is closed" error with Preparedstatement
I’m getting it when I’m walking through a ResultSet and get other ResultSets: public class BpaDetDao extends DaoAbstract<BpaDetBean> { public static final String // TODO Colocar campos no…
-
4
votes1
answer854
viewsmysql + PHP - use or not use mysqli_close()
I just noticed I’m not using the function mysqli_close() indicated on the website of PHP.NET I monitor the connections through Workbench client conections and there are open connections, my doubt is…
-
4
votes1
answer2107
viewsQuestions with the Connectionfactory and DAO class
I want to make a crud simple I am basing myself on some ready classes. My doubt follows: public class ConnectionFactory { private String url = "jdbc:postgresql://localhost:5432/aluno"; private…
-
4
votes1
answer1934
viewsClass Factory Recovery Failure - Console Application
I have a Console Application that performs connection with the SQL. On other machines the application is working normally, but has one that has the version Windows Server Enterprise SP2 who is…
-
4
votes2
answers1858
viewsFiredac multithread (Simultaneous connections - REST server) DELPHI
Good morning Personal, I’d like to request some help from you, in case anyone can help I’m super grateful. Doubt would be reasonably simple, how to work with Multi Thread in Firedac? In other…
-
4
votes2
answers212
viewsWeb server in Go apparently is not creating new requests
I am now starting to develop in Go, and I am currently studying Go for Web development, so through examples I started a simple server in Go: package main import ( "fmt" "log" "net/http" "time"…
-
4
votes1
answer254
viewsHow to set up PHP FTP - Help
When using Winscp I perform the following steps: (fictitious data) hostname: bala.rimunivert.com.br username: zzzzzzz@rjozzz 000 after that he asks Gateway username: juliohenrique Password gateway:…
-
4
votes2
answers677
viewsIs it mandatory to open and close connection when entering data?
In a *loop* que fazInsert` in an Excel spreadsheet it is mandatory to open and close the connection ? I analyzed the following, depending on the amount of registration it may take up to 1:30 to do…
-
3
votes1
answer1244
viewsCodeigniter opens many connections to the database
I have an application on the client and they are complaining that it is opening many connections with the database, dropping the server. I searched the Internet and couldn’t find anything related. I…
-
3
votes3
answers944
viewsPHP and Sqlserver connection
I’m trying to make a connection to Sqlserver and PHP But the page returns me the following error: Warning: mssql_connect() [Function.mssql-connect]: Unable to connect to server: 192.168.2.7 SRVDOC…
-
3
votes1
answer1561
viewsjava.lang.Nullpointerexception Error in JDBC Connection with WS + Postgres
I am creating a WS that connects to a DB Postgresql and performs a query in a single table. I try to run it locally, but the problem is when running the application gives the following error: HTTP…
-
3
votes2
answers327
viewsPHP and Mysqli. Table link problem
I’m following a toturial, it’s all the same. My problem is I can’t connect to the table. connect.php: <?php $db = new mysqli('127.0.0.1', 'user', 'pass', 'app'); if ($db -> connect_errno) {…
-
3
votes1
answer397
viewsConnecting a local server to an external one with js and php
My intention is, by the local server, to query data on an external server. I would like to know how to get the external server to wait for the local connection and depending on that local…
-
3
votes1
answer1839
viewsHow to close a database connection using PDO?
I’m new to PHP development and my app uses a method to open a database connection in Mysql, I am wanting to update and display the records. I need to use some method to close the connection, like:…
-
3
votes1
answer185
viewsWhat is Context and Generated Keys?
I’d like to know what exactly context class connection (I’ve seen methods in relation to this like getConnectionFromContext, or something like that) and Generated Keys as the Preparedstatment…
-
3
votes1
answer244
viewsHow do I know if a socket is "listening" on the server side?
When I use the function isConnected() of java.net.Socket, on the client’s side, and she returns to me true can I make sure the server is "listening"? How else can I know? Only with a waiting time…
-
3
votes1
answer292
viewsConnection to separate PDO databases - (multi-tenancy )
I have the following password for my application: I have a PHP + Mysql application, with PDO connection, I need the application to be shared with all registered companies, but each company will have…
-
2
votes2
answers3056
viewsError connecting to Firebird 2.5 (64 bit) on Delphi XE3
I have the following error when connecting to Firebird 2.5 (64 bit) on Delphi XE3: DBX Error: Driver could not be properly initialized. Client library may be Missing, not installed properly, of the…
-
2
votes4
answers7781
viewsLogin does not redirect, header('Location')
I just made a website that enables CMS so that our client can login and modify the content to his liking. On the localhost and on a test server that we have works very well, but on the final target…
-
2
votes1
answer215
viewsRemote connection of SQL Server 2008 Express
I have 2 servers (a physical and a local VM) in which one of them has SQL Server 2008 R2 Enterprise Edition (physical) installed and the other (local VM) I have SQL Server 2008 Express Edition.…
-
2
votes1
answer97
viewsConexões Clonadas
I wonder if there is how to create only a connection to the database to perform the tasks. With each Action executed, a connection with the Database is created and at the end of the Action…
-
2
votes1
answer63
viewsFetch data from Mysql in Postgresql
Is there any way to connect Mysql with Postgresql, so that Mysql DBMS is used but selecting data that is in Postgresql?
-
2
votes2
answers1243
viewsError assigning dynamic values to the Unidac Tuniconnection component
Using Unidac components for Delphi XE5, I found an error when assigning dynamic values to the Tuniconnection component, responsible for connecting to the database. Error message appears after…
-
2
votes1
answer2396
viewsConnect Mysql Workbench to Hostinger Server
Several times I tried to connect the Mysql Workbench to the database of my website hosted on Hostinger.com.br but always makes a mistake. From what I understand the access data I am passing are…
-
2
votes2
answers32
viewsProblems saving information to a database column
I need to take a typed information and give the uptade in a field (Pont), but the field needs to be on the same line as a selected player in my combobox(cmbtime). So when I selected the player in…
-
2
votes1
answer8737
viewsHow to fix "Sqlexception: No suitable driver found" error while making a connection?
I am trying to make the connection to the database in my code, however it appears the following error: Exception in thread "main" java.sql.Sqlexception: No suitable driver found for…
-
2
votes2
answers834
viewsOptimization of Mysql connections
I have a pertinent question regarding the connections in my database. I was told that every new connection to Mysql a portion of the RAM is reserved for that connection. I have several applications…
-
2
votes2
answers385
viewsError in Mysql connection and Android application
I’m having an error trying to make the connection between my App and the Mysql database. I am creating a direct connection to my bank, I know the best way would be to use a webservice, but I am…
-
2
votes2
answers366
viewsActive = False before starting a Delphi application
Every time we work on Datamodule on the connection component, we activate to do tests and the like. It turns out that if we forget to disable when we compile, it can give error when we send to the…
-
2
votes0
answers125
viewsC3P0 Connection Pool
I have the following properties in my Hibernate XML to Connection Pool taken off the internet: <property name="hibernate.c3p0.min_size" value="4"/> <property name="hibernate.c3p0.max_size"…
-
2
votes1
answer738
viewsCreate ODBC Connection
I am performing the integration of my system with the SEFIP. The database is in Interbase (.gbd). I can connect to the database via Microsoft Access normally. I created an ODBC connection manually…
-
2
votes2
answers2146
viewsIs it possible to connect a C-based application to a database?
We usually use files to save data using language C (at least). It is possible to connect a relational database to any application made in C? If yes, do you need a library for this and how is this…
-
2
votes1
answer61
viewsSite is displaying posts of the day 2 of May, however, some access the news updated normally
I run the site www.atodahora.com.br - Since May 7th, at 12pm, in my office, I view it as if the date were May 2nd. I see nothing else. This occurs with other connections. It turns out that in other…
-
2
votes2
answers814
viewsMonitoring internet connection at runtime
I’m using this method in C# to be able to identify whether or not the computer is connected to the internet private bool VerificarConexao() { if (NetworkInterface.GetIsNetworkAvailable()) { return…
-
2
votes1
answer190
viewsHow to show connection errors in Htmls with a JSON?
I was developing an HTML that accessed a JSON file. When, out of nowhere, the internet fell off my house and I ended up thinking about this question: Is there a way to catch a connection error and…