How to show the contants in front end same as visual editor with space / linebreak?

When you use get_the_content() to get your content, you need to apply filters to it to output with formatting. apply_filters('the_content', $content);

If you don’t need to do anything with the content before outputting it, you can replace your line $content = get_the_content('Read more); print $content; with just the_content();

For reference see apply_filters() and get_the_content() in the codex.

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