Questions tagged [remote-connection]
148 questions
2
votes
6 answers
How to quickly check if WMI information can be pulled from a remote computer
I am looking for a command (an IF test) that will run quickly to see if a computer can be connected to. I do one if-test and if it passes then I will run a slew of commands to pull the information I need. If the first test fails, then it does not…

user3585839
- 1,459
- 3
- 12
- 18
2
votes
6 answers
Getting a permission error when trying to connect to sql database
I have a sql server on a dedicated machine, running SQL 2008. I have the IP of the box, a database setup on it.
I've built a small script that just does a connection test, and when I run it, I get the following error.
Request for the permission…

Matt
- 4,140
- 9
- 40
- 64
2
votes
1 answer
Find remote os name via Jsch in Java
I am using Jsch to connect to a remote machine in my Java Code. I want to execute a command on the remote machine. On windows I need to append "cmd /c" before the command to be executed, but for linux this is not needed. So I want to know which OS I…

Durin
- 2,070
- 5
- 23
- 37
2
votes
2 answers
Execute a Remote 32 Bit PSSession with elevated rights
So I'm trying to get a script to run a script from a server remotely on another server. This session has to be 32 bit because of a cmdlet. And the script has to be run as admin.
I've tried this:
Invoke-Command -ComputerName isg108-81 -FilePath…

Matt
- 51
- 5
2
votes
3 answers
I can remotely connect to mySQL database in command line, but not with php script
The Error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'tech'@'localhost' (using password: YES)' in .......
I'm able to remotely connect in the command line, but not using php, any…

Alf
- 832
- 1
- 8
- 17
2
votes
1 answer
Allowing users to remotely connect to mysql db
First of all, I took a look to every related topic on her about this issue. However non of them was successful in answering my question fully.
Curently I am working on a desktop app, coded in C#, that requires mysql connection both for…

Alex
- 65
- 8
1
vote
1 answer
How can you make a remote MySQL connection faster?
I have a Java application that parses files and stores the data I need in a SQLite database.
I'm trying to have it store the data in a remote MySQL database that is on my hosts' server instead.
I rewrote the queries that had a different syntax, but…

Jumbala
- 4,764
- 9
- 45
- 65
1
vote
1 answer
Cannot establish connection to SQL Server
I am trying to access SQL DB that is located on my computer from an application that is located on a server (has IIS7).
I set the ConnectionString in the WebConfig with the IP of my computer and I always get this error:
A network-related or…

user990635
- 3,979
- 13
- 45
- 66
1
vote
0 answers
ArcadeDB | `All hosts are considered unavailable due to previous exceptions. Check the error log to find the actual reason.`
What are the details of your problem?
Why is Tinkerpop-Gremlin AnonymousTraversalSource finding ArcadeDB unavailable?
I looked at log/arcadedb.log.x files but they're empty.
And the Log4j2 logs also don't contain any further information.
I may just…

Zach
- 539
- 1
- 4
- 22
1
vote
1 answer
Using a remote Powershell Session to change a service username/password
I have a list of servers, and then another list of services on each of those servers. I am trying to remove it, change a few values in the .bat and then install the services again. Right now I have started a remote Powershell Session…

ColinFever
- 21
- 3
1
vote
1 answer
Remote mysql connection can not be established / host is not allowed
I have laravel web application and mysql running under same ip.
web is encrypted with ssl certificate
firewall is ufw and ufw is set up as following
To Action From
-- ------ ----
Nginx Full …

Dr. Nab Raj Roshyara
- 21
- 4
1
vote
1 answer
Ansible: continue play on a connection error to allow for different credentials
I am basically trying this inside a role:
---
- name: "Connection attempt 1"
block:
- name: "Credentials"
set_fact:
ansible_ssh_user: "{{ username_from_vault }}"
ansible_password: "{{ password_from_vault }}"
- name:…

Lirion
- 33
- 7
1
vote
0 answers
Remote connection from Navicat to Mysql container
Dudes,
I have a MySQL container on my Windows machine and I want to connect remotely to it from Navicat.
I created a user with global access and a database on the machine as follows:
username: da_user
DB: da_DB
I have tried connecting to the…

matin khajeh khalili
- 11
- 2
1
vote
0 answers
How to connect MySQL database using Python (mysql.connector) remotely?
What I want to implement is a Python script that performs operations (I will not go into the details of the latter as they are not of fundamental importance) on a database.
The database is hosted on a PC A [it is my personal PC (OS = Windows 10), on…

fpy
- 11
- 4
1
vote
2 answers
connecting my WP7(win phone 7) application to remote DB
I want my WP7 application to fetch data from the DB; so it sends the query as string, the server execute the query, then send the result back.
how can I do that?
whatever you can do for me I am so thankful to you, I appreciate, if you provide any…

Lena
- 11
- 1