Importing custom DB table entries as posts with Categories

Resolved: Just needed to add trim to the term names retrieved from the custom DB table!! D’oh!

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