I saw following examples of Lie algebras in a book of physics:
$L_1=\langle x,y,z\rangle$ $[x,y]=z$, $[y,z]=x$ and $[z,x]=y$.
$L_2=\langle x,y,z\rangle$, $[x,y]=z$, $[y,z]=-x$, $[z,x]=y$.
These Lie algebras are $3$-dimensional and the book considers over $\mathbb{R}$.
I want to know whether they are isomorphic and also consider field to be of arbitrary characteristic. Can one state whether they are isomorphic or not. I will try then for proof.
My attempt: if $-1$ is a square in $F$, then let $a^2=-1$. In $L_2$, $$[x, ay]=az, [ay,az]=-a^2x=x, [az,x]=ay.$$ This means $x\mapsto x, y\mapsto ay, z\mapsto az$ gives isomorphism between $L_1$ and $L_2$.
What happens if $-1$ is not square in $F$? Of course, above map is not isomorphism; can there be other isomorphism? How to tackle this problem?