Most voted "connection" questions
Referring to all types of connection (connection to database, other system, etc).
Learn more…201 questions
Sort by count of
-
0
votes2
answers1157
viewsexceeded the 'max_user_connections' Resource
I’m not sure what the reason for the error I’m having but it seems that it is something related to open connections in the bank, where error is occurring if the application tries to create more…
-
0
votes0
answers103
viewsLogin problems with mysql, php, Android
So, guys, I’m trying to perform the login feature on my Adroid app. I am using android native Java, mysql and php, but I can not login to the application, and Android Studio does not return me any…
-
0
votes1
answer206
viewsFluig - Mysql 8 Connector
I can’t get my Fluig server up, because there’s an error com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed Exhaustively researching,…
-
0
votes2
answers1609
viewsPython Mysql database connection
Trying to make the connection to my database, but is returning me the following error! Exception has occurred: Attributeerror 'Connection' Object has no attribute 'execute' Exception has occurred:…
-
0
votes1
answer64
viewsInstance of database connection
People, I have a problem which is this, my database connection class is a Singleton. It happens that if the server drops the instance of the class does not know that the server is down, I only know…
-
0
votes2
answers736
viewsError: connection to database already opened
I am creating a method to test a connection with the Postgresql database, but when calling the method that opens the connection an error happens saying that the connection is already open and does…
-
0
votes0
answers19
viewsI’m having trouble validating access in a system
Warning: mysqli_query() expects Parameter 1 to be mysqli, string Given in Sqlfunctions.php on line 13 Login.php: <?php if(isset($_POST['usuario']) && isset($_POST['senha'])) {…
-
0
votes0
answers37
viewsWho connects to the Sqlalchemy database?
I have an app that uses Sqlalchemy’s ORM, but I’m confused about this connection. It is Sqlalchemy or the connection driver (in my case psycopg2) that actually connects to the database?…
-
0
votes1
answer88
viewsConnection problems between the Entity Framework and the Database?
While running my application I am encountering the following error when loading the data through the Entity Framework. When it is executed I observe that the following is called connection string:…
-
0
votes1
answer1423
viewsWarning: mysqli_fetch_object() expects Parameter 1 to be mysqli_result, Boolean Given in /home/omeganim/public_html/index.php on line 39
I am in need of help to resolve this error!!! Warning: mysqli_fetch_object() expects Parameter 1 to be mysqli_result, Boolean Given in /home/omeganim/public_html/index.php on line 39 The code is…
-
0
votes1
answer207
viewsMissing server connection via Httpurlconnection
I have an application that queries a URL through the following method within a AsyncTask: try { HttpURLConnection http = getHttpUrlConnection("http://www.sitedoservidor.com.br"); if (http != null) {…
-
0
votes2
answers37
viewsError creating PHP connection
When creating the connection Activity in the Connection.getRequestMethod("POST") field; does not accept the Post method. I’m new in the field, could help me? public static String postdados(String…
-
0
votes1
answer295
viewsProblems connecting Postgres with java
Well, I’m having a problem connecting my java application to my database (I’m using pgAdmin4 which is basically postgres). Java code: public class ConnectionFactory { private static final String…
-
0
votes0
answers230
viewsPool server connections for web application
would like to know if it is possible to implement a pool of connections on a server and have it distribute the connections to java desktop applications, if possible would like a direction of what to…
-
0
votes2
answers6052
viewsHow to access another machine’s database
You guys, good night. It is as follows: I am with a PHP project with Mysql to be delivered. However, I am doing it this way: I created 3 virtual machines in Vmware Workstation Pro, the Client is…
-
0
votes2
answers827
viewsphp error with mysql and mysqli
I’m kind of new to programming and I’m having a hard time, I was programming a site and running it on wampserver, but from a while I updated the wamp version and the php MYSQL commands stopped…
-
0
votes0
answers193
viewsHow to Optimize Java Connection with Postgres
My connection class with the database is taking too long to open the connection, it takes almost 20 seconds. Hibernate Usage and the Bank is Postgres running localhost. Am I doing something wrong?…
-
0
votes0
answers44
viewsWhat’s wrong with that method?
I’m creating an Asp net mvc application, I created a domain class with: public class Parcela { public int parcelaId { get; set; } public decimal valor { get; set; } public DateTime vencimento { get;…
-
0
votes0
answers788
viewsLocal database . MDF C# Visual Studio 2017 (CONNECTION)
I am developing a windows application using visual studio 2017, but I came across a problem, on my machine that I am doing the project everything runs right, on the other machine that I do the tests…
-
0
votes2
answers568
viewsDatabase connection error . MDF C# Visual Studio
App.Config <connectionStrings> <add name="conn" connectionString="Data Source=.\SQLExpress;AttachDbFilename=C:\Sistema\Sistema.mdf;Integrated Security=True"…
-
0
votes1
answer51
viewsHow to have the option to connect to more than one database in my C# Visual Studio app via the.config app
I have a C# application I made in Visual Studio. This application connects to an Sql Server database. I would like to put on my login an option in list form to choose another bank if I have more…
-
0
votes1
answer69
viewsError returning database records
Good evening everyone, I have the following error when returning the database data: "Warning: mysqli_fetch_assoc() expects Parameter 1 to be mysqli_result, null Given in" Follows the sources: php…
-
0
votes2
answers2891
viewsPython and Access
Please help, my class does not connect in Access at all.. I’m using: Pycharm, win10 (x64), office 2007 and 2016, python 3.6(x86). Thank you for your attention. follows example of the class: class…
-
0
votes1
answer174
viewsConnection undoing while running php socket script
I am setting up a socket server in php, a simple chat. When I send a message or close a page, the following error appears: "Warning: socket_recv() Unable to read from socket[10053] An established…
-
0
votes2
answers376
viewsDjango does not connect to mysql database
was doing this project on linux Mint and I had to switch to windows and I’m having some problems to configure the environment. when rotating the command $ python Manage.py migrate get the following…
-
0
votes2
answers148
viewsOpen connection more than once in C#
I am developing a service in c#. calls a function to check if it has active records. if you have any record call another function to select the data referring to the first query. When I run my…
-
0
votes0
answers167
viewsdifficulty with access to mysql
I am trying to connect remotely to a mysql in google cloud, but I can’t. in google I created an Ubuntu vm, last version, this is my ip, this dripping normally: I configured the firewall as follows:…
-
0
votes1
answer229
viewsHow to capture packets from a TCP connection using a proxy?
I’m writing a TCP proxy to capture packets sent from my computer to a remote server and vice versa. I connected a fake test server on localhost and Proxy works well, intercepting and directing the…
-
0
votes1
answer326
viewsProblems with external SQL Server connection in PHP
I am with a problem for days with an external connection PDO sqlsrv, I have scanned the internet and I did not find a solution. I installed all sql server drivers for PHP, including, I installed sql…
-
0
votes1
answer73
viewsProblem when using query
I’m having the following problem when using some query in my Laravel. I wondered this IP 192.168.1.1, in my file . env put 192.168.1.31 where is located my database. Does anyone know what might be…
-
0
votes1
answer85
viewsIs it possible to use python’s LIB socket to make communications as a websocket?
Hello, sorry if there is any error, I am creating an MMORPG with the engine Construct 2 and it only has a plug-in websockets, however I tried to use the lib websockets from Python, but I don’t think…
-
0
votes1
answer1200
viewsA server connection was successfully established, but an error occurred during the logon process
Hello guys I’m having a problem trying to make the connection to a database via Microsoft SQL Server Management Studio but it displays the following error message: A server connection was…
-
0
votes0
answers301
viewsError in string when connecting sql server database remotely
I’m a beginner in C# and I’m trying to remotely connect my application with an SQL Server database that is on another PC... In this PC has already been configured the TCP/IP port following this link…
-
0
votes3
answers1117
viewsTCP/IP connection failure when trying to connect to an SQL Server database
The code I made was a basic Microsoft example of how to make the connection. The driver is already installed. package connection; import javax.swing.*; import java.sql.*; import…
-
0
votes0
answers28
viewsWebsocket Javascript - multiple simultaneous connections
Personal talk, I have a function where I make a connection with a websoket, I can connect and everything, only I’m wanting to open 3 connections from 3 different users, I can open these connections…
-
0
votes0
answers89
viewsWebservice returning PHP error
Hello to all my friends(as), you are well? I have a very annoying little problem, I can’t find the problem. I’m consuming a webservice.: Link to the Webservice It is about the prefecture of…
-
0
votes1
answer115
viewsHikari timeout oracle springboot
Hi, I’m trying to manually set up a connection pool with Hikari. I will need to do manual because the application will have its dynamic settings for connection to the databases and schemas/Sid. How…
-
0
votes0
answers33
viewsSystem using Java and Mysql Database does not recognize user and login even while in the database
I am making a Java Services Order System in Netbeans based in this course. I created the database in Mysql Workworkbench, created the user table, connected to the server in XAMP and made the…
-
-1
votes1
answer193
viewsError entering database data into Jtable
I’m having a problem loading the data into a Jtable, use BD Derby, the database connection works more when trying to open the Jframe Cad_usuarios appears the error below: Exception in thread…
-
-1
votes1
answer1176
viewsCheck if the user is connected to the internet
I need to know if the user is connected to the internet, and if not, I need to show a screen, but my case is that I created an app from a responsive site that I have, in my app has no file, only the…
-
-1
votes2
answers96
viewsPostgresql database restrictions on commercial application
What are the restrictions on using Postgresql database in my commercial C application#? What’s the size limit? And simultaneous connections? What problems can I face, in the matter of networking…
-
-1
votes1
answer120
viewsMake an encrypted Mysql database connection
To make a connection to the Mysql database use this code in PHP: $host = "host"; $usuario = "usuario"; $banco = "banco"; $senha = "senha"; $pdo = new PDO('mysql:host='.$host.';dbname='.$banco,…
-
-1
votes1
answer45
viewsMysql data is not inserted
Hello, I am trying to insert data into mysql by netbeans, but it always returns the "null" error. When I refresh mysql the table continues without the entered data. There is no error in the syntax,…
-
-1
votes1
answer397
viewsHow do I connect to another network with a socket?
I have created some programs like a multiplayer ping pong game, chat and others, using socket. They all work perfectly and I can connect to other devices that are connected on the same network as…
-
-1
votes1
answer50
viewsdatabase connection
Hello, I’m having a problem with mysql_connector, because it’s not returning me the connection string with DB, even though I’ve already included it in the Netbeans classpath, and have done other…
-
-1
votes0
answers12
viewsJava Dao class showing the following error:The Resource type Connection does not implement java.lang.Autocloseable
The error is being presented where I perform Try try (Connection connection = getConnection(); And consequently, my Preparedstatement says that the Connection type is not visible in that line:…
-
-2
votes1
answer98
viewsHow to use two sensors in the Arduino and show the data in a C#application?
I have a code in the Arduino where has 1 ultrasonic sensor that measures the amount of liquid, and in a tank a flow sensor that measures the amount of water consumed. In the other code C# I have an…
-
-2
votes1
answer1010
viewsNODE.js Insert in MS SQL
I am trying to run an INSERT in my MSSQL through my NODE.js server But it’s not working. I believe it is not a connection problem because (as I will demonstrate at the end of the post) I made a…
-
-2
votes1
answer3178
viewsMysql Error - Access denied for user 'root'@'localhost' (using password: YES)
Good morning, you guys, I really need this help, please. File: c: wamp64 apps phpmyadmin4.9.2 config.inc.php Here is the beginning of the code: if($wampConf['SupportMySQL'] == 'on') { /* Server:…
-
-3
votes1
answer38
viewsJava Mysql and FTP connection
My doubt is not about how to make a connection with ftp or mysql, because this is not getting. I connect using parameters such as host, port, user and password. My source code stores this…