[mythtv] Database server and pings (r14205)

Nigel Pearson nigel at ind.tansu.com.au
Thu Aug 16 23:55:47 UTC 2007


> Is it possible to ping the database the same way that mysqladmin does?
>  For example, when you run:
>
> mysqladmin ping -h HOST -u USER -pPASSWORD


Possible, but it doesn't fix the problem that
I was trying to detect using the ping test:


% time mysqladmin ping -h 127.0.0.2
mysqladmin: connect to server at '127.0.0.2' failed
error: 'Lost connection to MySQL server during query'
mysqladmin ping -h 127.0.0.2  0.00s user 0.01s system 0% cpu 1:14.85  
total

%


Anything that uses TCP will take ages (minutes on most OSs).


--
Nigel Pearson, nigel at ind.tansu.com.au|"Now the world has gone to bed.
Telstra Net. Eng., Sydney, Australia | Darkness won't engulf my head.
Office: 9202 3900    Fax:  9261 3912 | I can see by infrared.
Mobile: 0408 664435  Home: 9792 6998 | How I hate the night." -Marvin


More information about the mythtv-dev mailing list