Numbers of new post since the last visit of user

i think it is possible to get what you want by

Store the last date time a user login as a user meta

Use the usermeta to get posts published after the date – time uring $wpdb

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