LispWorks User Guide and Reference Manual > 19 Common SQL > 19.2 Initialization > 19.2.8 Connecting to MySQL

NextPrevUpTopContentsIndex Connecting to MySQL using a plist

connection-spec can be a plist containing (some of) the keywords :username , :password , :dbname , :hostname , :port , :connection , :unix-socket .

Each of these keywords may be omitted.

If :unix-socket is specified, then none of :hostname , :port and :connection can be specified. If :hostname is specified then :connection must not be specified.The value supplied for :hostname can be a raw hostname, or a string of the form hostname : port . If :connection is specified then it can a string conforming to one of these patterns:


hostname : port

: port


Must start with ' / '

That is, the value connection supplied in a plist connection-spec is interpreted just like the part of a string connection-spec following the ' @ ' character.

LispWorks User Guide and Reference Manual - 22 Dec 2009