?? dlr-sdb.conf
字號:
# # DLR with LibSDB support configuration## Example defining a LibSDB resource (as an abstraction of a real database)# and the required table and field values.## As of LibSDB 0.5.0 the following database types are supported with# the associated URL resource scheme:# # mysql:host=XXX:db=XXX:uid=XXX:pwd=XXX# postgres:host=XXX:db=XXX:port=XXX# oracle:uid=XXX:pwd=XXX OR oracle:uid=username/password@instance# sqlite:db=/full/path/to/db# lago:host=XXX:port=XXX:db=XXX:uid=XXX:pwd=XXX# mimer:db=XXX:uid=XXX:pwd=XXX# odbc:dsn=postgresql# sdbd:host:port:url=XXX# text:/path/to/db/ (note trailing slash)## Beware that you have the DB support build in your LibSDB installation# when trying to use a specific DB type within the URL.## LibSDB is available at http://siag.nu/libsdb/#group = sdb-connectionid = mydlrurl = "mysql:host=localhost:db=dlr:uid=foo:pwd=bar"# # Create the required table for the DLR support in the database # with something similar like this, i.e. for MySQL: # # CREATE TABLE dlr (# smsc varchar(40),# ts varchar(40),# destination varchar(40),# service varchar(40),# url varchar(255),# mask int(10),# status int(10)# )## Other DB types may vary. Consult your DB admin for help in creating# the appropriate table space and connection details for the real DB.#group = dlr-dlrid = mydlrtable = dlrfield-smsc = smscfield-timestamp = tsfield-destination = destinationfield-service = servicefield-url = urlfield-mask = maskfield-status = status
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -