Cannot restore wordpress database from sql dump [closed]

Just add an USE statement to tell the server on which database you want the operation to be performed.

USE mydbname

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