PHP code example of ofbeaton / db-ping
1. Go to this page and download the library: Download ofbeaton/db-ping library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ofbeaton / db-ping example snippets
bash
php db-ping.phar help
php db-ping.phar mysql --pass=mysecretpassword
php db-ping.phar ODBC -d OdbcName -u user -p password
bash
$ php bin/db-ping ODBC -d MarketflowAcc -u rou -p rou --repeat 100 --format te
DB-PING odbc:MarketflowAcc
2017-01-11 14:55:35, 0
2017-01-11 14:55:35, 3
2017-01-11 14:55:37, 3
2017-01-11 14:55:39, 3
2017-01-11 14:55:41, 3