annotate implementations/geerdes/connect.lisp @ 149:a45da9b93b37
implementations/mtp/methods.lisp: fix some bugs in dataset retrieval.
darcs-hash:20071025122256-c0ce4-dc50f52a16aaa6d3d78d961e6a934a5af77b7542.gz
author |
Marcus Pearce <m.pearce@gold.ac.uk> |
date |
Thu, 25 Oct 2007 13:22:56 +0100 |
parents |
c8db9d1bd191 |
children |
3b588c566734 |
rev |
line source |
d@88
|
1 (in-package #:amuse-geerdes)
|
d@88
|
2
|
d@88
|
3 ;; N.B. This file contains an access password for the database in
|
d@88
|
4 ;; plain text...
|
d@88
|
5
|
d@88
|
6 (defun get-amuse-connection ()
|
d@88
|
7 (clsql:connect '("vaughan-williams.doc.gold.ac.uk" "amuse" "LispMidi" "clsql")
|
d@88
|
8 :if-exists :old :database-type :mysql))
|
d@88
|
9
|
d@88
|
10 ;; might as well connect while I'm at it
|
m@148
|
11 ;; or not
|
m@148
|
12 ;; (get-amuse-connection)
|