Local install won’t work without internet

Try define(‘WP_HTTP_BLOCK_EXTERNAL’, true); in your wp-config.php. This will mean updates and downloading themes and plugins will fail, although you can still add plugins by dragging them to your plugin folder.

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