How do I add multiple post types to this query?

<?php
if ( 'pretty-little-liars' == get_post_type() || 'gallery' == get_post_type() ) {
    // ...
}
?>

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