Hmm I don't undestand...
You are playing bass for 2 years, how did you practise? Whitout any rythm device, or did you play on top of existing music (CD's or records) ?
Main issue about playing bass is having a correct rythm.
If you practised with a metronome, there is not a big difference with playing with a drummer.
Start with something simple, ask him to play a slow blues shuffle, start by listening and play root on the beat (kick) then listen to his rythm and improve your groove, don't forget that root-5th-octave are your best friends

You'll get in the groove pretty fast.
Next play a 60ish beat, the typical 8 beat bass rock pattern
Example in E
Code:
-----------------
----2-2-0-0------
-------------2-2-
0-0--------------
Before you'll know you will play together, and the rest is just practising together
k