How do you load WordPress from an external script when using MultiSite? [duplicate]

I posted a way to accomplish this here. Essentially, my suggestion is to create a sort of API for your WP installation to maintain orthogonality between your systems.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)