How to relate the Category to user?

The job was done by creating one new table. And storing the Category ID and the User Meta value each and every time the category is created.

Now, just list the category with the Created By value in the frontend.

Answer pulled from an OP comment.

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