Is it possible to separate databases in WordPress site – one for orders and the other for all non-orders related

Is it possible to separate databases in WordPress site – one for orders and the other for all non-orders related

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