I am trying to connect to mysql server which is installed on my home pc from another pc. I allowed all connection in mysql configuration. There's no firewall blocking on the pc I am trying to connect from. I used the command-
mysql -h Some.Host.IP -u SomeUser -p SomePassword
I am getting-
ERROR 2003 (HY000): Can't connect to MySQL server on 'Some.Host.IP' (10060)
I can connect through php!!
What's the problem? How do I solve it?
Okay, kind of a weird question but let's say I'm running a long-running batch script in a terminal window and I close that terminal window.
Is it possible, in any way, to ssh back into that server and run a command that pops you back into that process, so you can see it running again?
This is on linux (Redhat).
Thanks
What is the Linux command to clear IP address of an interface without bringing it down and/or restarting network services. Seems strange ifconfig is able to change IP address but has no option to clear it, or am I wrong?
EDIT:As simple as ifconfig eth0 0.0.0.0. They should have put it in the man
I want to fire "svn update" command from a php script , the user for which is "apache".
How can I assign permissions to apache user to execute "svn update" ?
When I use zsh in interactive mode, I get some glitches. This mainly happens when the command spills over onto a new line and I use backspace, with backspace leaving behind some glitches on the screen and moving the cursor to an odd position.
It happens in a VT, in xterm and urxvt, although it is most noticeable with my chosen terminal, urxvt.
When I use zsh as a login shell, it does not happen at all.
What could be causing this?
I'm running this command to get a list of all Activesync users and export them to C:\activesync.csv
Get-ActiveSyncDevice | Get-ActiveSyncDeviceStatistics | sort-object status, devicetype , lastsyncattempttime | ft FirstSyncTime ,LastPolicyUpdateTime ,LastSyncAttemptTime ,LastSuccessSync , DeviceType , DeviceID, DeviceAccessState, Identity -a | Export-Csv c:\activesync.csv
The problem is that the CSV data doesn't match the console display if I omit the trailing | c:\activesync.csv ... where the data and columns displayed don't match.
Is this a bug in powershell?
Hello guys,
can somebody tell me how to pipe the output of the serial port to a file in Windows?
In Linux the command would be:
cat /dev/ttyS0 > /opt/logs/Serial.log
Thanks in advance
I'm seeing some errors in my apache logs and they may (or may not)
be related to some packages that I recently installed/removed using Yum.
Is there a way to view the history of Yum packages that have been updated/installed/removed ?
I could use the "history" command from unix, but some installations may have been done with different accounts. I've tried searching the web and reading the man page too but haven't found anything.
I have the following directory structure
books/java
books/java.ebooks
books/java.gwt
books/java.swing
books/javaee
I use this command to create an archive of all the directories starting with the letters a-m
tar czf books.a-m.no.AI.tgz --exclude=books/AI.and.algorithms --exclude=books/[N-Z]* --exclude=books/[n-z]* books
The .tgz archive that gets created does not contain the java.swing/ directory.
Am I missing something in my use of tar or is this a bug in cygwin?
I need to read some .docx files and the standard 3.0.1 version of OpenOffice writer that comes with Unbuntu 9.04 just ain't handling it. I tried the instructions from the following site: http://news.softpedia.com/news/How-to-Install-OpenOffice-org-3-1-on-Ubuntu-9-04-111105.shtml, both the GUI steps in the main article, and a scripted version in one of the comments, but my system never seems to do the partial update, and the OpenOffice version is unchanged after I uninstall and reinstall it from the command line. Has anybody had similar problems?
Batch-program launchs with 1 parameter (full path to file)
program.cmd "C:\Path\To\File\Filename.txt"
Now, this program consists of 1 command:
echo %1
And it just prints an argument: C:\Path\To\File\Filename.txt for the upper example.
But I want it to print an argument (full path) with another extension, e.g. .exe. For the upper example, I want it to print C:\Path\To\File\Filename.exe.
How to make it do that?
I want to restart ssh or sshd but I get this error:
qqqq@Matrix-Server:/$ sudo /etc/init.d/ssh stop
sudo: /etc/init.d/ssh: command not found
qqqq@Matrix-Server:/$
Do I need to install ssh or sshd or does it come with Ubuntu?
I got the following command with this error
rsync -avz --links -O /home/jansiatest/.jenkins/workspace/svn_to_demo/trunk/CPS/ [email protected]:/home/tasklite/temp
sending incremental file list
./
rsync: failed to set permissions on "/home/tasklite/temp/.": Operation not permitted (1)
But the thing is that i don't want to change permission of "/home/tasklite/temp/". How can i set that?
According to MSDN installer sets ROOTDRIVE to the local drive that can be written to having the most free space. In my situation it is a slow USB drive that I use for nightly backup, but I would prefer to use my C drive for the install folder.
But somehow I can't figure out how to set this property from command line or through PowerShell. I found that it is possible, but these instructions don't make any sense
In Excel 2007, when I click a hyperlink, it opens in IE.
I'm running XP Professional SP3.
Firefox is set as my default browser. Links in Word and Outlook open in Firefox. But Excel opens them in IE. Anyone know how to fix it?
Edit:
Process Explorer shows the command line for IE to be
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -Embedding
Thanks!
Hi, I'm trying to mount a folder located at 10.0.0.1:/pxe/ on eth1 but I'm not sure how to do this with two NICs enabled. The command mount 10.0.0.1:/pxe/ /mnt/pxe/ works fine when I only am using the one NIC the appropriate machine is on, but how can I specify to use eth1 when eth0 is also enabled? Thank you.
I need to get rid off "access denied" messages which fills my find output.
I've read man find (maybe not too carefully, hit me) and cannot find anything like
-s/--silent or -q/--quiet command line key.
I just made some changes to a DNS zone in Webmin and clicked the "Apply Changes" button. I received the error message:
rndc: connection to remote host closed This may indicate that the remote server is using an older version of the command protocol, this host is not authorized to connect, or the key is invalid
How can I troubleshoot / repair this? I copied parts of the BIND config from a failing server, so I suspect that's what causing it...
hi,
I just installed the openSuse 11.2 , but i insert my pen drive to usb port it is not getting recognised and mounted,
I used following the command to prob the OS
lsusb = no results
lshal |grep usb = not result
I have setup postfix to send outgoing mail, It works fine for most of the cases except for some e.g duke.alumni.edu where it gives me a 450 error, even though the email address is valid.
This is the exact error I get
Sender address rejected: Domain not found (in reply to RCPT TO command))
Any suggestions on how I can rectify this?
With emacs, you can use the emacsclient program to open a file in an already existing emacs frame. Is there any way to do this with vim? In other words, I want to have something I can type at the command prompt to open a file in a vim window I already have open rather than creating a new one.
I have encrypted a drive with BitLocker in Windows 8 Pro, but the drive will not auto-unlock. I can manually unlock the drive from BitLocker in the Control Panel. However from Windows Explorer, I keep seeing the "unlock-bde" command that reports the error "application not found." Anyone know how to permanently fix this issue so it will auto-unlock the encrypted drive upon login to Windows 8 and it does not reoccur?
I was able to share my laptop's internet with my smartphone by using this command "netsh wlan start hostednetwork".
But when I installed Avast in my Windows 8 OS, I am able to start the hostednetwork as before and my smartphone also finds the virtual AP but still I can't use internet on the smartphone.
It's like the internet sharing has been disabled by the Antivirus.
How do I tell Avast that its okay to use the hostednetwork?
I found the following sentence:
Many Windows-Users may have wondered
about the mDNSResponder.exe process
running all the time. It’s Bonjour.
Does anybody know how can I see these processes (I do not mean "mDNSResponder.exe". I mean in general.). It should be some analog of "top" command in Linux.