pub fn init(config: &Config) -> SharedInit
Initializes shared data.
If the database pool can not be initialized.