How do I get allowed Media Library upload file extension list?

get_allowed_mime_types() function returns an array of mime types keyed by the file extension regex corresponding to those types.

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