The traditional definition:
$\mathcal{B}$ is a local base for $(X,\mathcal{T})$ at $x$ iff all $B \in \mathcal{B}$ are open ($\mathcal{B} \subseteq \mathcal{T}$) and also contain $x$, and moreover for all $O \in \mathcal{T}$ with $x \in O$ there exists some $B \in \mathcal{B}$ such that $B \subseteq O$.
This corresponds nicely to a localisation of this reformulation of the definition of a base (it amount to the same notion as the "every open set is a union of base elements"):
$\mathcal{B}$ is a base for $(X,\mathcal{T})$ iff all members of $\mathcal{B}$ are open (or $\mathcal{B} \subseteq \mathcal{T}$) and for every $O \in \mathcal{T}$ and every $x \in O$ there exists a $B \in \mathcal{B}$ such that $x \in B \subseteq O$.
This makes it almost immediate that if $\mathcal{B}$ is a base for $(X,\mathcal{T})$ then for every $x \in X$, $\mathcal{B}_x:=
\{B \in \mathcal{B}: x \in B\}$ is a local base for $(X,\mathcal{T})$ at $x$.
And vice versa, if, for every $x \in X$, $\mathcal{B}_x$ is a local base for $(X,\mathcal{T})$ at $x$, then $\mathcal{B}:= \bigcup \{ \mathcal{B}_x: x \in X\}$ is a base for $(X,\mathcal{T})$.
Also with this traditional definition of local base, a countable local base is special, in the sense that sequences can be used to describe the topology around such a point. (A first countable space is Fréchet-Urysohn).
If you would propose a definition like "$\mathcal{B}$ is a local base at $x$ iff every open set $O$ that contains $x$ is a union of members of $\mathcal{B}$" (which is what you seem to propose), then you can check that the Sorgenfrey line is first countable in the traditional sense (using sets $[x,x+\frac{1}{n})$ for $n \in \mathbb{N}$), but not in this alternative sense (little puzzle for you). So this alternative definition is too strong, and would miss out on such generalisations as we can use for traditionally first countable spaces. Then having a countable local base is almost as strong as having a countable base. So this is a less useful definition.
Other generalisations: if we leave out the $x \in B$ part of the correct local base definition we get the definition of a so-called local $\pi$-base at $x$, e.g. If we leave out $\mathcal{B} \subseteq \mathcal{T}$ in the definition of a base as given above, we get the definition of a network for $(X,\mathcal{T})$.
Spaces with a countable local $\pi$-base everywhere, or a countable network have also been studied in general topology.