Questions tagged [remote-connection]

148 questions
4
votes
1 answer

Can I make a section of code time out?

I'm working with a class that makes a remote connection to a server. A problem that I'm running into is if the connection doesn't get a response, it'll wait until it does. This class does not have a timeout built into it, and I don't want to modify…
Ben Dauphinee
  • 4,061
  • 8
  • 40
  • 59
3
votes
1 answer

Enable remote connection to a MySQL database on Debian

I have installed a MySQL database on a Debian Lenny 5.0 and I am trying to connect to that database remotely using PHP. This is the way I'm logging in: $con = mysql_pconnect("MY_IP_ADDRESS","root","MY_PASSWORD"); if (!$con) die('Could not connect: '…
jQuerybeast
  • 14,130
  • 38
  • 118
  • 196
3
votes
1 answer

ssh_dispatch_run_fatal no matching key exchange method found (on Zend Studio Remote Connection)

I use MacBook OSX as local machine and NoteBook lUbuntu as server on my local network. SSH and SFTP connections works perfectly with osx terminal, but I have problems with Zend Studio 11 Remote Connection (Unfortunately, i'm not able to use latest…
Andrew
  • 671
  • 2
  • 8
  • 21
3
votes
1 answer

How to connect to remote DB in local phpMyAdmin (WAMP)?

I'm using WAMP server with MySQL Version : 5.6.17. Is there a way to connect to remote DB from my local phpMyAdmin? I have credentials for remote database, but I can not find a way how to add a connection in my local panel. I found over the new that…
delux
  • 1,694
  • 10
  • 33
  • 64
3
votes
2 answers

Php - Connecting to remote database very slow

I have a new VPS server, and I'm trying to get it to connect to another server at the same ISP. When I connect via mysql's command line tool, the connection is very fast. When I use PHP to connect to the remote DB, the connection time may take up…
Jay
  • 2,123
  • 1
  • 22
  • 29
3
votes
1 answer

multiple connections to an mdf file

im creating a .Net application using c# for a university project and need some help! I have a mdf file hosted on a network drive and need several clients to be able to access this database from their applications. Each client machine will be running…
Connor Gervin
  • 935
  • 5
  • 16
2
votes
3 answers

Connect database from other computer

I'm using PHP with MySQL database. The PCs are having a network to each other. My problem is I want to connect to the MySQL database on another computer. I want to store data on that MySQL database from another computer. How could i possibly do…
msmjsuarez
2
votes
0 answers

getting Gremlin-console error while gremlin console is attempting to connect to arcadedb in docker

I am trying to use Gremlin query language for access data in ArcadeDB, but I am getting this error. I've started Gremlin-Console and ArcadeDB in Docker and trying to connect. What am I doing wrong? Launch ArcadeDB with Docker: docker run --name…
rgaponov
  • 133
  • 1
  • 7
2
votes
1 answer

Grant Privileges to Root via Dockerfile

Is there some way to grant all privileges to root via Dockerfile ou docker-compose.yml? I'm trying to boot up a mysql:latest image like this: docker-compose.yml version: "3.9" services: mysql_database: container_name: mysql_test_server …
2
votes
3 answers

Can't connect to PostgreSQL docker image (with a forwarded port)

I created my docker image with the following command - sudo docker run -d --name pg1 -e POSTGRES_PASSWORD=pass -p 5431:5432 postgres I tried connecting using psql - psql -h 127.0.0.1 -p 5431 and after a while it returns - psql: error: could not…
Drxxd
  • 1,860
  • 14
  • 34
2
votes
1 answer

Connecting to a remote database

Is there a framework or class that allows Cocoa and Objective-C to interface with a remote database, be it SQLite, MySQL, or another (though preferably SQLite)?
Pudgeball
  • 814
  • 8
  • 16
2
votes
1 answer

Establishing connection using pexpect

I am trying to establish a connection using pexpect with below approach- child = pexpect.spawn('telnet {console_ip} {console_port}'.format(console_ip=self.obj.get("console_ip"), …
Shubh
  • 53
  • 8
2
votes
0 answers

Getting Remote Computers with an IP

I have multiple VM's that can be accessed remotely. Is there a way to determine which user is currently connected to each of those VM's? I already used WTSQuerySessionInformation to get the current user which is remotely connected, but if I use…
AeroBiba
  • 21
  • 2
2
votes
1 answer

Perl qx() command not working as expected

I have a perl script as below, where I want to access a network path on a remote windows machine from a linux machine using rsh. $cmd = "rsh -l $username $host \"pushd \\\\network\\path\\to\\the\\directory && dir\""; print $cmd, "\n"; print…
him
  • 487
  • 3
  • 12
2
votes
2 answers

Can't open port 3306 for remote connection

I understand this question has been asked but they all say the same thing which I have tried and failed. Basically using this site: http://www.yougetsignal.com/tools/open-ports/ I can see my 3306 port is closed and trying to get a client to connect…
MomasVII
  • 4,641
  • 5
  • 35
  • 52
1
2
3
9 10