8 lines
570 B
Plaintext
8 lines
570 B
Plaintext
\begin{Verbatim}[commandchars=\\\{\}]
|
|
\PYG{k}{CREATE} \PYG{k}{DATABASE} \PYG{n}{my\PYGZus{}wiki}\PYG{p}{;}
|
|
\PYG{k}{CREATE} \PYG{k}{USER} \PYG{l+s+s1}{\PYGZsq{}mediawiki\PYGZsq{}}\PYG{n+nv}{@\PYGZsq{}localhost\PYGZsq{}} \PYG{k}{IDENTIFIED} \PYG{k}{BY} \PYG{l+s+s1}{\PYGZsq{}mediawiki\PYGZsq{}}\PYG{p}{;}
|
|
\PYG{k}{GRANT} \PYG{k}{ALL} \PYG{k}{PRIVILEGES} \PYG{k}{ON} \PYG{n}{mediawiki} \PYG{k}{TO} \PYG{l+s+s1}{\PYGZsq{}mediawiki\PYGZsq{}}\PYG{n+nv}{@\PYGZsq{}localhost\PYGZsq{}}\PYG{p}{;}
|
|
\PYG{k}{FLUSH} \PYG{k}{PRIVILEGES}\PYG{p}{;}
|
|
\PYG{n}{QUIT}\PYG{p}{;}
|
|
\end{Verbatim}
|