getting "Error establishing a database connection" after copying cpanel from WHM

under a VPS, used the copy cpanel function to copy the wordpress from another server.

right afterwards getting "Error establishing a database connection"
any advice is appreciated
thnx