README 1.1 KB

1234567891011121314151617181920212223
  1. This is the unified Sybase-DB style driver for PDO.
  2. This extension register itself as:
  3. - 'mssql' when built against the Microsoft DBLIB library
  4. - 'sybase' when built against Sybase ct-lib
  5. - 'dblib' when built against FreeTDS
  6. The following database products are free for testing:
  7. - Microsoft SQL Server Express (Windows Only)
  8. - Sybase Adaptive Server (Windows, Linux, *NIX)
  9. - Microsoft SQL Server Azure (One Month Trial Cloud Service)
  10. You must set the following environment variables to run the tests:
  11. - PDO_DBLIB_TEST_DSN - DSN (e.g., dblib:host=localhost;dbname=test)
  12. - PDO_DBLIB_TEST_USER - database user
  13. - PDO_DBLIB_TEST_PASS - database user password
  14. This extension supports multiple versions of the TDS protocol. There are
  15. behavioral differences between versions. When making changes, it's recommended
  16. to test across all supported versions. You can specify a version using a version
  17. parameter in the DSN. See dblib_driver.c:pdo_dblib_handle_factory() for valid
  18. values. Some tests check version-specific behavior by parsing this string, so
  19. it's best to use the DSN (rather than freetds.conf, etc.) to set the version.