Most voted "connection" questions
Referring to all types of connection (connection to database, other system, etc).
Learn more…201 questions
Sort by count of
-
2
votes2
answers1314
viewsConnection limit
System in Delphi - Database Firebird 2.5. I have a server with 25 "files" of databases, one from each client. Each customer has on average 10 accesses via TS to connect to our server. However, when…
-
2
votes2
answers1743
viewsHow to register and query data in the Wordpress database?
On my website, there’s a section called "My Ideal Board". It is a form where the user will enter their data and there will be a return message with the type of plank ideal for the person. First…
-
2
votes1
answer99
viewsUnanswered PHP in fetch command
I am studying with a book use the head and the following I practically copied and pasted the sample code just changing the names of the variables and I am not having the return with my code, in fact…
-
2
votes0
answers287
viewsJSF + Wildfly multi-bank connection dynamically
Hello, I have a web application using JSF + CDI + JPA and Wildfly 8 as the application server. So far I’m letting the server manage transactions, where the connection information with the database,…
-
2
votes1
answer1034
viewsConnection to ASP.NET CORE 2 database
I’m starting with Asp.net, but specifically Asp.net core 2. I’m reading the documentation contained in Docs.microsoft.com. However, I have a question. How do I connect to a DB? In PHP I use PDO, but…
-
2
votes1
answer196
viewsStack Underflow Error and Access Violation Delphi 7
I am changing the database of my Delphi application from Firebird to Postgresql, but at some points of my application when I am accessing Database information the following error message occurs: But…
-
2
votes1
answer5466
viewsHow to test connection to SQL Server database
I have an application that connects to SQL Server, but in a client terminal is returning a random error. I wonder if there is a way to test the connection of this terminal with the Sqlserver server,…
-
2
votes1
answer185
viewsThe 'Connection' object can be discarded more than once in the method
Follows the code: public ActionResult Index(ViewModel model, string returnUrl) { string query = "UPDATE Table SET Status = 'C' WHERE Id = @Num"; using (SqlConnection connection = new…
-
2
votes2
answers85
viewsInclusion of data by the operator
I built the code below but when I insert the data the system shows error. package tarefaBD; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import…
-
2
votes2
answers1778
viewsMultiple codeigniter database connections
I’ve been investigating the use of multiple Codeigniter databases. If I know which databases are ahead of time, I can set the information in the configuration file and then call the database group I…
-
2
votes0
answers638
views(Java) Reading the Serial Port with the Jssc library
I have a java app that reads on the serial port with 7 data from a rotational sensor coming from the Arduino, via jssc. The code works, but the data is not formatted. I read 4 in 4 bytes, but…
-
2
votes0
answers61
viewsConnection redirection with proxy tunneling
I have two Ubuntu servers, one is in Brazil and the other in the US, in both I activated IP_FORWARD to be able to make a tunnel connection with them to the destination, well, I bought the two to do…
-
2
votes0
answers1249
viewsGet redirected link internally in android app
Aloha I’m developing an Android app to log in to the wifi network, but I found a barrier. In the application, when the user clicks on the "Log in" button, I need to internally access some address…
-
2
votes2
answers345
viewsTesting web server connection - Android
I need to make a test connection with the web server, I am using this code below but all the attempts I made it always fall in the catch HttpURLConnection conn = null; try { URL url = new…
-
2
votes1
answer1508
viewsSQL Server Connection - Python
Good afternoon guys I’m having trouble making a connection with sql, whenever I try to make the connection the following error occurs: ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL…
-
2
votes1
answer135
viewsHow does Django’s standard connection mechanism work?
I am maintaining a system that uses standard connection, via "DATABASES = {", with Oracle 11g. So: DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.oracle', 'USER': 'USUARIO',…
-
2
votes1
answer92
viewsWhat is the right way or how to close persistent PDO connections in PHP?
I need to close the connection to the Mysql database in PHP in the code below: try { $conn = new PDO('mysql:host=localhost;dbname=banco', "root", "", array(PDO::ATTR_PERSISTENT => true));…
-
1
votes2
answers326
viewsDrivers for bank connection via ASP Classic
Good afternoon. In the Connection string of our web application, we always use the Driver {SQL Server}. We have other options like {SQL Server Native Client 11.0}. What are the decision-making…
-
1
votes1
answer70
viewsConnection name with Entity is out of standard
Whenever I change the database, I need to delete edmx and recreate it, because the update from database is not updating. So far so good. What happens is that he has now created a connection with the…
-
1
votes1
answer424
viewsConnection via PHP to an SQL Server 2012 database
My problem has some variants: I have a website built on joomla, which is hosted on a linux server. The administrator where I have hosted my website has already informed me that it will not install…
-
1
votes1
answer458
viewsOffline PHP connection string
I’m trying to connect offline to a Mysql base, but I’m not getting. The code is on my machine, I’ve tried by IIS and XAMPP but every time I try to connect, it presents an error. Follow the…
-
1
votes1
answer164
viewsError while performing connection test in Visual Studio
I’m new to ASP.NET programming, and I’m trying to connect Visual Studio 2013 Express with SQL serves 2012 Express and I’m not getting any results. I did the following procedures; procedure 1.…
-
1
votes0
answers1318
viewsIntel XDK connection to Mysql database
I have a question about connecting my application to an external database on Intel XDK. Could someone tell me what other techniques to connect my application with an external database, besides the…
-
1
votes1
answer714
viewsError #1142 Mysql
Today in my system I came across this situation. I feed my SELECT with this code: "SELECT p.codigo,p.nome,p.fantasia FROM pessoas p LEFT OUTER JOIN pessoas_define pd ON pd.cod_pessoa = p.codigo…
-
1
votes2
answers601
viewsHow to use my already populated Firebird database for a web project in visual Studio 2015 using Entity framework?
I have an already populated Firebird database and would like to use this same database for a Web project in visual studio 2015. I already installed Firebird ADO.NET Data Provider and tried to give a…
entity-framework firebird connection visual-studio-2015 databaseasked 8 years, 10 months ago Victor Glauber 95 -
1
votes2
answers128
viewsJava: Connection Class Error
How to fix this error ? This is preventing you from connecting to the bank.... private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // Eventoos do Botao inserir try { //Registra…
-
1
votes1
answer5456
viewsConnection of the Database to the 000webhost
I’m having a problem connecting to 000webhost The code I have is: I think I’m fine because I just changed the values you matched to the localhost <?php ob_start(); $link =…
-
1
votes1
answer163
viewsjava programming and database connection
I have a problem that’s making me miserable. Here’s the thing: I have a database and have my program in java everything connected, already created the jar file and all. But the problem is that the…
-
1
votes1
answer970
viewsPerform update and Insert in mysql via Asp classic
Good morning Personal I would like a help half boring can be up to something kind of banal I have a page on Asp connects.Asp as follows <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"% <% dim conn sub…
-
1
votes1
answer392
viewsError connecting with Firebird database
I’m trying to create a web application and want to use java and html. Good after everything set up and ready for a small connection test the following error occurs: Fev 09, 2016 1:28:02 PM…
-
1
votes0
answers68
viewsSafer form of connection between Android and Arduino
I am developing an application that communicates with Arduino (Uno). I used two modes to communicate so far, via USB (I used the usb-serial-for-android and Physicaloid libraries) and Bluetooth.…
-
1
votes1
answer329
viewsHow to check connection bandwidth of a server
Hello, I recently hired a Windows VPS server hosted in Germany. The contracted plan has unlimited traffic and 1Gbit/s connection. I want to use this server for streaming videos, so the connection…
-
1
votes3
answers77
viewshow to send 2 values to php & get http//localhost/.... php? kk=par1&zz=par2";
Good afternoon guys I’m having a little problem... I have two values to assign the connection php via web serves... the values are saved in sharepreference and saved in "txtid"... to everything ok…
-
1
votes0
answers87
viewsConnections in web application
I am creating a J2EE, jsf project. They have multiple Beans and controller, and the Beans access the Database. I’m having doubts how to manage the Connection for the database, right now I only have…
-
1
votes1
answer554
viewsJDBC connection in Eclipse Neon
I need help adding the JDBC driver to my project done in the Eclipse Neon version. If possible pass a connection class to test.
-
1
votes0
answers126
viewsConnect Sql Server Express 2014 with Visual Studio 2015
I can’t make the server name appear in Visual Studio, I have the firewall disabled and I have checked that the server is active, please help me Thank you in advance.…
-
1
votes1
answer162
viewsProblem trying to transfer files using Apache FTP implementation in Java
I am performing file transfer via FTP using JAVA. I’m using the classes Ftpclient and Ftpserver apache. In a specific environment, sometimes files are not transferred. I call the method…
-
1
votes1
answer448
viewsProblem connecting Access to Visualstudio
I created a small database in Access and I’m trying to make the connection with Visualstudio, but gives the following error message: Unrecognized database format 'c: Users wss desktop dbteste.accdb'…
-
1
votes3
answers3666
viewsConnect Mysql C#
I have a MYSQL bank in a shared UOLHOST hosting, I can connect to the bank by Visual Studio Server Explorer normally: But when trying to connect through a simple test console application I get…
-
1
votes2
answers1721
viewsHow do I know if the database connection was successful?
I need some help. I started programming in c# now and wanted to make a kind of status for my program. Something like "Connection to Database: Connected.". I made the connection and my program…
-
1
votes0
answers44
viewsMysql for Excel
I connect to the BD, click but when editing the folder is password protected. I tried to enter the BD password and nothing. Someone had that problem, could give a help?…
-
1
votes1
answer209
viewsError Mysql and android connection
I’m developing an app that needs to have an external connection and I’m having a running problem, how could I fix this? Follows the code: import java.sql.DriverManager; import java.sql.SQLException;…
-
1
votes2
answers174
viewsGet type of user connection in javascript
how can I get the type of user connection in javascript? I want to know if it is accessing my site via wireless, 4G, wired internet... All this in javascript
-
1
votes0
answers250
viewsMysql error - request expired
I’m using Mysql, but I’m having to reset the password every time I restart my laptop. I use Sequel pro to access the bank and give the following error: Cannot connect to host 127.0.0.1, or request…
-
1
votes1
answer59
viewsError trying to access Database information
I’m migrating an application that was developed in Delphi 7, which used to use the Firebird database, so now I’m making the application communicate with the Postgresql database. I managed, after…
-
1
votes1
answer39
viewsExceptions and database connection
I have a code that query a database. If a timeout exception occurs for example during the execution of the query, the connection closure code and consequent return of the connection to the pool will…
-
1
votes1
answer711
viewsConnect to sql database a postgres database
Scenario: I have the postgres database A, but I need to connect to the database from sql server 2017. How can I do this?
-
1
votes0
answers38
viewsPopulate Jsonarray with Sqlite3 data
I have a code that is to send my Android data to PHP in JSON, to save in Mysql. But I’m sending one at a time, I want this code to send one JsonArray at once. Method that sends data by parameters to…
-
1
votes1
answer56
viewsReturning the NULL value
Someone can help me, I’m making a code to insert data into a table in the database and update too, but unfortunately it’s not working, all variables are giving NULL and the very code that selects…
-
1
votes1
answer578
viewsHow to establish a P2P connection?
On a normal connection, it is necessary that whoever will receive the connection is with an open port on the router (transmitting to a computer from the internal network). But in a P2P connection…