Next: Where to go from here?, Previous: Download and Installation, Up: System Preparation [Contents]
One last ritual before the Core can remember anything: tell it where its
database lives. STARTER keeps those knobs in gsettings
under org.starter.core—no sprawling config files to hunt through at
midnight. Point db-host, db-port, db-user,
db-pass, and db-name at the schema you created in
Database Initialization (the usual name is simply STARTER).
If you want peers to prove they belong, set auth-token; leave it
empty and the network stays open and friendly
(see peer-auth-token). The remote debug channel
(The Debug Server) has its own secret, debug-auth-token,
independent of the peer token (see debug-auth-token). How the Core
actually talks SQL is covered under api-mysql when you are ready to
dig into the library.
gsettings set org.starter.core db-host \ 'your_ip_or_hostname' gsettings set org.starter.core db-port port gsettings set org.starter.core db-user 'your_username' gsettings set org.starter.core db-pass 'your_password' gsettings set org.starter.core db-name \ 'your_schema_name' gsettings set org.starter.core auth-token \ 'shared_secret_or_empty' gsettings set org.starter.core debug-auth-token \ 'debug_secret_or_empty'
Note: Give that database user read/write rights on the schema—history and labels need somewhere to land. And remember: a command-line
--db-*, --auth-token, or --debug-auth-token always overridesgsettings, which is handy when you want a sandbox without touching production (see The Override Hierarchy).