LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-19-2007, 12:24 AM   #1
nehalv
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
DB disconnets after closing SSH clinet


Hi,
Whenever my MySQL database disconnets, i open SSH clinet and restart the service. But when i close SSH client from my machine. Again database gets disconnected. I have to keep my SSH clinet open, if i want my database up. Can anybody help me with this?
Thanks,
Nehal
 
Old 01-19-2007, 12:57 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
You need to give use more information about this.

What version of MySQL, what distro (add this to your profile). How are you running MySQL?

--Ian
 
Old 01-19-2007, 01:17 AM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
If you are just running mysqld or mysqld_safe from the command line, then when the SSH client is closed, all running processes are sent SIGTERM, which would include mysqld.
 
  


Reply

Tags
ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to keep program running after closing ssh session fakie_flip Linux - Software 10 11-03-2011 09:33 AM
Connection to SSH closing immediately scratched Linux - General 8 03-26-2007 12:49 AM
SSH Slow Response/Session Closing FourierXForm Linux - Networking 3 08-07-2006 10:56 AM
closing ssh port einstien Linux - Security 32 06-29-2005 10:57 PM
why ssh server is closing the connection just after successful login puru_09 Linux - Networking 0 03-30-2004 01:25 AM


All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration