WordPress custom image size on custom field image

when you get image form post_meta, you get the path to the image, then you get do something like :

<img src="https://wordpress.stackexchange.com/questions/21718/<?php echo get_post_meta(ID,"customr field name',true); ?>" 
        width=200 height=200 />

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