Resources to learn OOP for WordPress plugins, custom post types, etc

(i.e., how do I do the add_action('init','register_my_custom_post_type'), etc. with a class)?

You pass the callback from inside the class, using $this:

add_action( 'init', array( $this, 'register_my_custom_post_type' ) );

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