It is the other way round, at least in Germany. During your interview you will always be asked how much you got at your last job. Then there is a magical cap at say 20% above the last salary (depends on how much they want you of course).
So it is very important to have a good salary at the beginning, because it will always be a reference point.