Configure sinedoncfg shared » History » Revision 3
Revision 2 (Anchi Cheng, 05/18/2010 08:09 PM) → Revision 3/15 (Anchi Cheng, 05/20/2010 11:43 PM)
h1. Configure sinedon.cfg Sinedon is an object relational mapping library designed to interact with the Leginon and Appion databases. It can be configured at global or user level. * An example configuration file is available at: myami/sinedon/examples/sinedon.cfg * Configurations for all users should be placed at the following path: $PYTHONSITEPKG/sinedon/sinedon.cfg * Modify sinedon.cfg to look like the following example. Set the host, [[Examplanation of Sample Names|db, db, user, and passwd]] passwd to match the databases created during your Database Server setup. Note that the user here is the MySQL user Leginon uses to communicate with the database for all Leginon users. For an Appion or Leginon installation that uses Project database, set the following: <pre> [global] #host: your_database_host host: localhost user: usr_object passwd: [projectdata] db: projectdb [leginondata] db: leginondb </pre>