Help to create function that changes name in the certificate of the sensei lms

Help to create function that changes name in the certificate of the sensei lms

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