How to make wordpress use www.example.com/blog/wp-includes/ instead of www.example.com/wp-includes/?

Add to wp-config.php:

define('WP_SITEURL', 'http://example.com/blog/');

On the codex.
This is all you need.

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