Actually all the configure.php files seams to be right.

It is something wrong with the whole sale database it self I think. When I try to login in to whole sale it redirects me to my regular shops admin.

But when I look at the shop itself it is different. I have in the beginning copied the database to the whole sale database. Because it is same products any way.