Active Plugins for current blog in WP Multisite Network? [duplicate]

Looks like get_option('active_plugins) does the trick. Also, this question has already been answered here, sorry for the duplicate:

How to Check If A Plugin Is Enabled Through API?

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