remote-access

ERROR 2003 (HY000): Can't connect to MySQL server (111)

主宰稳场 提交于 2019-11-30 06:35:14
问题 This question is related to the following questions: Can't connect to MySQL server error 111 Trying to connect to remote MySQL host (error 2003) I am configuring a new MySQL (5.1) server on my local machine. I need to provide remote access to the database. I did the following steps: Comment bind-address in my.cnf: # bind-address = 192.168.1.3 Grant privileges: GRANT ALL PRIVILEGES ON *.* TO 'nickruiz'@'%' IDENTIFIED BY PASSWORD 'xxxx'; Set port forwarding on router (TCP and UDP, port 3306,

Unable to connect to SQL Server instance remotely

谁说我不能喝 提交于 2019-11-30 06:12:08
I’m trying to access the SQL Server instance on my VPS from SQL Server Management Studio on my local machine. It’s not working (the error I’m getting is: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. I think this is because I need to configure the database engine to allow remote connections (correct me if I’m wrong!). So I’ve found this step-by-step guide to help me do that: http://www

xcopy with credentials on remote machine [closed]

柔情痞子 提交于 2019-11-30 05:00:28
I am trying to access a remote server on a different domain through its IP address. In run command I entered the following \\XXX.XXX.XXX.XXX\C$\Program Files\ I get a pop up window asking for username and password. I enter it, and accessed the path. When I try accessing the folder again it do not ask for my password. But when I restart, it does give the popup again. Is there a way to add my credentials?? Lets say my domain\username is MyDomain\RapsyTree . I tried the following: cmdkey /generic:TERMSRV/YYY.YY.YYY.YYY /user:YourDomain\rapsalands /pass:secretPass The credentials are getting added

How to remotely update Python applications

♀尐吖头ヾ 提交于 2019-11-30 04:47:27
What is the best method to push changes to a program written in Python? I have a piece of software that is written in Python that will regularly be updated. What would be the best way to do this? All the machines will have Windows 7. Also, excuse the ambiguity of my question. This will be my first time having to implement an updating procedure. Feel free to mention specifics you would like me ot add. DSimon If you're not already packaging your program with InnoSetup , I strongly recommend you switch to it, because it has facilities to make this sort of thing easier. You can specify any special

Persistent use of Jupyter Notebook from remote server

亡梦爱人 提交于 2019-11-30 02:09:16
I connect to a remote server using ssh -L but if I close the laptop lid or the connection is lost, the jupyter notebook is disconnected. After I reconnect to the remote server, the "last" session is lost. What can be done to make it persistent? Could screen help with it? On the remote server, you should open your jupyter in a screen session, it will make it persistent if you lose the connection to the server and resume it. On your computer: ssh -L xxxx:localhost:yyyy server . screen . jupyter notebook --no-browser --port=yyyy . In your browser: localhost:xxxx . To disconnect manually and

How can I flush GPU memory using CUDA (physical reset is unavailable)

拜拜、爱过 提交于 2019-11-29 23:44:24
My CUDA program crashed during execution, before memory was flushed. As a result, device memory remained occupied. I'm running on a GTX 580, for which nvidia-smi --gpu-reset is not supported. Placing cudaDeviceReset() in the beginning of the program is only affecting the current context created by the process and doesn't flush the memory allocated before it. I'm accessing a Fedora server with that GPU remotely, so physical reset is quite complicated. So, the question is - Is there any way to flush the device memory in this situation? Although it should be unecessary to do this in anything

Accessing ASP.NET Development Server from another pc on the network

China☆狼群 提交于 2019-11-29 23:01:31
I would like to test my web app in other browsers. I have installed Virtual PC to do just that. the ASP.NET development server does not allow remote connections so the virtual pc (another computer on the network) cannot access the website. I found this post that was started but there was no solution. I understand that using localhost will not work. I heard about using the machines ip, but how do I get that correct ip? Look at my lynksys router admin? If I were to get as far as getting my IP, im sure that the asp.net dev server does not allow remote connections. How do I enable it to do so? I'm

Remotely execute a Spark job on an HDInsight cluster

余生长醉 提交于 2019-11-29 21:43:59
问题 I am trying to automatically launch a Spark job on an HDInsight cluster from Microsoft Azure . I am aware that several methods exist to automate Hadoop job submission (provided by Azure itself), but so far I have not been able to found a way to remotely run a Spark job withouth setting a RDP with the master instance. Is there any way to achieve this? 回答1: Spark-jobserver provides a RESTful interface for submitting and managing Apache Spark jobs, jars, and job contexts. https://github.com

How to get permissions for using System.Diagnostics.Process.GetProcess(string)?

主宰稳场 提交于 2019-11-29 21:12:42
问题 I'm using Microsoft Visual Studio to make a simple remote task manager for experience purposes. I want to use Process.GetProcesses(string); but there is an access denied exception that won't allow me to get the remote computer process. In fact it is normal because we should authenticate using a user name and password, but how ? 回答1: You may try to use WMI for this purpose /// using System.Management; // don't forget! in VS you may have to add a new reference to this DLL ConnectionOptions op =

Connect to MySQL on AWS from local machine

ぃ、小莉子 提交于 2019-11-29 21:07:08
I am trying to set up a dev environment on my local machine that accesses a MySQL DB on AWS, but I keep getting a "Can't connect" message. mysql_connect('xxx.xxx.xxx.xxx:3306', 'USERNAME', 'PASSWORD'); I also commented out the bind-address in the my.cnf file, and granted permissions to the IP address that is connecting. Anyone ever successfully get this working? I suppose this is firewalled by Amazon, try using a SSH tunnel: http://blogs.oracle.com/divyen/entry/connecting_mysql_server_on_amazon Note: Do not open MySQL to the public internet, not even when using IP filtering. SSH tunnels are