Commits
Thomas Tornevall authored 50d3bebabd1M
Pull request #7: PHPDB-20 mysql Merge in LIB/tornelib-php-database from PHPDB-20-mysql to master * commit 'e0b72450ac047d17747006c5b760a07424785cda': (22 commits) Connectivity is done! deprecated driver can not be tested on PHP 7 or higher readme MODULE_DATABASE.php support connection and adaptive drivers. Inspections fixes. Updated class with connectivity for mysqli, mysql and PDO. Simplified $currentIdentifier mysqli_connect + switch database done. Made some methods "throwable" so they can also return booleans without exceptions. Added timeouts. Flagset to make sql-driver chainable. Default userdata is set to "testusername". Driver class for bad driver (sql) updated. Added "preferred driver" detector. Added driver test (includes getServerList-ish test). connect() remains empty. Fixed docblocks and return statements and other problems. serverList in config not in use. Switch-Case transformed into ifs. Composer and readme updated. PHPDB-25 Sample file updated for ipv6 testing. Empty file for testing configuration fetching. Initialize MODULE_DATABASE for compatibility. servertype and serveroptions Server type setup. Server password setup. Server username setup. Server port and server host. server port config Introducing a way to always pick the correct identifier from all content requests. ...
Showing diff toe0b72450ac0