logo
logo
logo
logo
logo
logo
logo
logo
logo
logo
logo

Route53 database check


Sponsored links
Route53 database check We have released a PHP function, which can easily check for uptime of your database. We use this function for checking our database against Route53 system from Amazon, which is used to switch this internet website into different location in case of any uptime problems. Only using this service, we are able to provide you almost 100% uptime. $link = mysql_connect('localhost', 'root', 'XXXX'); if (!$link) {     header ('HTTP/1.1 500 Internal Server Error');     die(); } $result = mysql_query('show processlist'); $cnt=0; while ($row = mysql_fetch_assoc($result)) {     $cnt++; } if (!$cnt>1000) {     header ('HTTP/1.1 500 Internal Server Error');     die(); } mysql_close($link); echo "ALL..

Start here


I agree with your T&C
452 clients
650,880 pings per day
68 IP's down today

Route53 database check

We have released a PHP function, which can easily check for uptime of your database. We use this function for checking our database against Route53 system from Amazon, which is used to switch this internet website into different location in case of any uptime problems. Only using this service, we are able to provide you almost 100% uptime.

$link = mysql_connect('localhost', 'root', 'XXXX');
if (!$link) {
    header ('HTTP/1.1 500 Internal Server Error');
    die();
}

$result = mysql_query('show processlist');

$cnt=0;
while ($row = mysql_fetch_assoc($result)) {
    $cnt++;
}

if (!$cnt>1000) {
    header ('HTTP/1.1 500 Internal Server Error');
    die();
}

mysql_close($link);

echo "ALL OK";

header("Connection: close");

?>



From Our Blog

  1. Route53 database check (2 months ago)
  2. Free Ways to Record Internet Radio on Windows (2 months ago)
  3. 4 interesting Linux open source programs that are worth seeing. (2 months ago)
  4. How startups can apply for Amazon AWS free credit (1 months ago)
  5. Top 10 stress test tools (1 months ago)
  6. Top 10 CSS frameworks (1 months ago)
  7. Using hashtags for marketing (1 months ago)
  8. Why you should stress test your server (1 months ago)
  9. Zabbix server monitoring review (1 months ago)
  10. Linode vs Amazon AWS comparison (1 months ago)
  11. What is CSS Grid (1 months ago)
  12. How would internet work if Google would be shutted down? (1 months ago)
  13. How much does Google crawling cost? (1 months ago)
  14. What is a search engine submission in SEO? (1 months ago)

Free plan

Free

  • Non-commerce
  • 1 website
  • 10 minutes interval

Basic plan

GBP 9 / Month

  • Professinals
  • Up to 100 websites
  • 1 minute interval

Unlimited plan

GBP 128 / Month

  • Professinals
  • Up to 1000 websites
  • 10 seconds interval

Start here


I agree with your T&C


↑ Scroll back ↑