how can my customers view their purchased products history like an invoice in a specific page on WordPress

how can my customers view their purchased products history like an invoice in a specific page on WordPress

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