Let $p, q$ be prime numbers which may or may not be distinct. Let $\mathbb{Q}_p$ be the field of $p$-adic numbers. Let $\mathbb{Z}_p$ be the ring of $p$-adic integers. We define similarly $\mathbb{Q}_q$ and $\mathbb{Z}_q$.
Let $A = \mathbb{Q}_p\otimes_{\mathbb{Q}} \mathbb{Q}_q$. Let $\lambda\colon \mathbb{Z}_p \rightarrow A$ and $\mu\colon \mathbb{Z}_q \rightarrow A$ be the canonical ring homomorphisms. Let $B = \mathbb{Z}_p\otimes_{\mathbb{Z}} \mathbb{Z}_q$. Let $\psi\colon B \rightarrow A$ be the ring homomorphism induced by $\lambda$ and $\mu$.
Is $\psi$ injective?
Since $A$ is the localization of $B$ at the elements $p$ and $q$ (by formal nonsense), the question is if $p$ and $q$ are regular elements of $B=\mathbb{Z}_p \otimes \mathbb{Z}_q$. But this is because $p$ is a regular element of $\mathbb{Z}_p$ and $\mathbb{Z}_q$ is torsion-free and hence flat over $\mathbb{Z}$; similarly for $q$.