is_post_type_archive is false when I pass GET parameters in the URL

My fault, I had defined the slug as ‘events’, hence I should have used:

http://localhost:8886/jeanmonnetprojects.com.au/events?category=categoryX

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