Handbook
Glossary
mysql-db
Vocabulary
db
.
mysql
Definition
IN:
db.mysql
TUPLE:
mysql-db
host user password db port
;
Methods
USING:
accessors
alien.c-types
alien.data
combinators
db
db.mysql
db.mysql.ffi
db.private
kernel
;
M:
mysql-db
db-open
f
mysql_init
dup
[
"Not enough memory to allocate mysql handle."
throw
]
unless
dup
20 1
int
<ref>
mysql_options
drop
dup
rot
{
[
host>>
]
[
user>>
]
[
password>>
]
[
db>>
]
[
port>>
0
or
]
}
cleave
f
0
mysql_real_connect
[
mysql_error
throw
]
unless
mysql-db-connection
new-db-connection
swap
>>handle
;