Let me expand on Dietrich Burde's answer.
Let $R=\mathbb{Z}[\sqrt{-5}]$ and $I=(2,1+\sqrt{-5})$.
- Direct computations shows that we have $I=\{a+b\sqrt{-5}\mid a\equiv b \ \mod 2\}$.
It is not difficult to deduce that $I$ is maximal, hence prime.
First $, I\neq R$. Moreover, let $J$ an ideal of $R$ containing $I$.
Assume $J\neq I$. If $z=a+b\sqrt{-5}\in J\setminus I$, then $a-b$ is odd . Hence $a=b+2m+1$ for some $m\in \mathbb{Z}$.
But $z=a-b+b(1+\sqrt{-5})=1+2m+b(1+\sqrt{-5})$. Since $J$ contains $I$, it contains $2$ and $(1+\sqrt{-5})$. But is also contains $z$, and since $J$ is an ideal, we deduce that $J$ contains $1$. Hence $J=R$ and $I$ is maximal.
- If $\pi=a+b\sqrt{-5} \in I$ is prime, $(\pi)$ is a prime ideal of $R$ , so $(\pi)\cap \mathbb{Z}$ is a prime ideal of $\mathbb{Z}$. This intersection is not zero since it contains $\pi \bar{\pi}=\vert \pi\vert^2$.
Hence $(\pi)\cap \mathbb{Z}=p\mathbb{Z}$, where $p$ is a prime number.
Now $(\pi)\cap \mathbb{Z}=p\mathbb{Z}\subset I\cap\mathbb{Z}= 2\mathbb{Z}$. Hence $2\mid p$ is $\mathbb{Z}$, and since $p$ is a prime number, $p=2$.
- We finally get that $(\pi)\cap \mathbb{Z}=2\mathbb{Z}$.
Hence $2 \mid \pi $ in $R$ and $\vert \pi\vert^2\mid 4$ in $\mathbb{Z}$. Hence $a^2+5b^2=1,2,$ or $4$, and simple then computations then show that $\pi=\pm 1,\pm 2$.
Since $\pm 1$ are units, we are left to consider $\pi=\pm 2$.
These two elements are not prime: we have $(1+\sqrt{5})(1-\sqrt{5})=6\in 2R$, but $1\pm \sqrt{-5}\notin 2R$.