4,461
edits
iwu |
add the instruction to set up the database |
||
Line 24: | Line 24: | ||
== Set up the database == | == Set up the database == | ||
I'm connecting to the local database. | |||
<div class="cli"> | |||
<span style="color:#00ff00;">mhan</span><span style="color:#444444;">@</span><span style="color:#00cccc;">brahms</span><span style="color:#999999">:</span> | |||
<span style="color:blue;">/srv/www/blog</span><span style="color:#cccccc;"> | |||
$ <b class="color:white;">mysql -uroot -p</b> | |||
</span> | |||
<pre class="output">Enter password: | |||
Welcome to the MySQL monitor. Commands end with ; or \g. | |||
Your MySQL connection id is 9234 | |||
Server version: 5.5.41-0ubuntu0.14.04.1 (Ubuntu) | |||
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. | |||
Oracle is a registered trademark of Oracle Corporation and/or its | |||
affiliates. Other names may be trademarks of their respective | |||
owners. | |||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. | |||
mysql> create database wp_michael; | |||
Query OK, 1 row affected (0.02 sec)</pre> | |||
</div> |