Changing layout with wp_customise

You need to check against the value of layout:

if ( get_theme_mod( 'layout' ) === 'stream' ) {
    // Stream
} elseif ( get_theme_mod( 'layout' ) === 'grid' ) {
    // Grid
} else {
    // Fallback
}

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