Guide to using KingbaseES Perl DBI to connect to and query a KingbaseES database, with DBI methods, handle attributes, and examples.
This manual describes how to use KingbaseES Perl DBI and includes an example of connecting to a KingbaseES database. It is intended for users of KingbaseES, especially application developers using Perl DBI.
It documents DBI class methods, common handle methods, database handle methods and attributes, statement handle methods and attributes, and a Perl DBI access example. This manual is written in Chinese.
| DBI driver | DBD::KB |
|---|---|
| Data source prefix | dbi::KB |
| Default port | 54321 |
| Default host | local domain socket |
DBI is Perl's standard database-independent interface for communicating with databases.
Call DBI->connect with a data source, username, and password; the data source should begin with dbi::KB.
The default port is 54321.
Perl test cases can be downloaded from the Renmin Jinchang website.