Ad Widget

Collapse

Check MySQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malik
    Junior Member
    • Jan 2012
    • 26

    #1

    Check MySQL

    Hello !

    I have to check if a table (MySQL) is not empty for more than two minutes.
    I use this line but it tells me the line number at time T and not two minutes.

    Code:
    mysql -u *** -p *** BDD -e ' select * from TABLE limit 0.1; ' | wc -l
    Would you have a solution?

    thank you,

    Malik.
Working...