InitialStepsWithMarauroa: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
imported>MiguelAngelBlanchLardin
No edit summary
Line 15: Line 15:
Replace <user> and <password> with the desired values and paste the following lines to the prompt that opens:
Replace <user> and <password> with the desired values and paste the following lines to the prompt that opens:
<pre>
<pre>
create database stendhal;
create database marauroa;
grant all on stendhal.* to <user>@localhost identified by '<password>';
grant all on marauroa.* to <user>@localhost identified by '<password>';
</pre>
</pre>
It should produce output similar to this:
It should produce output similar to this:
Line 25: Line 25:
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database stendhal;
mysql> create database marauroa;
Query OK, 1 row affected (0.03 sec)
Query OK, 1 row affected (0.03 sec)
mysql> grant all on stendhal.* to testuser@localhost identified by 'testpass';
mysql> grant all on marauroa.* to testuser@localhost identified by 'testpass';
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
Line 72: Line 72:
Use the one you have written above on database creation.
Use the one you have written above on database creation.
<pre>
<pre>
Write name of the database (marauroa): stendhal
Write name of the database (marauroa): marauroa
Using "stendhal" as database name
Using "marauroa" as database name


Write name of the database host (localhost):
Write name of the database host (localhost):