How can I show a .swf file?

The below link would help in placing the swf file in your home page

http://www.w3schools.com/html/html_object.asp

You could mention the path as /wp-content/uploads/your.swf
or you could use wp_upload_dir();

References : http://codex.wordpress.org/Function_Reference/wp_upload_dir

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