Next: Map DB table, Up: FPRM (experimental) [Contents]
;; usage 1: (connect-db dbd init-str) ;; usage 2: (connect-db dbd #:db-name "artanis" #:db-username "root" #:db-passwd "" #:proto "tcp" #:host "localhost" #:port 3306)
(connect-db "mysql" "root:123:artanis:tcp:localhost:3306")
#:db-name
specifies the DB name.
#:db-username
specifies the DB username.
#:proto
specifies the socket protocol, which is related to the DB server of your choice.
#:host
specifies the host name.
#:port
specifies the socket port.