StendhalLocalhostServerOnLinux: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Zenix2
New page
imported>Zenix2
Line 15: Line 15:
<pre>
<pre>
mysql -u NAME -p -e "create database DB_NAME;"
mysql -u NAME -p -e "create database DB_NAME;"
</pree>
</pre>
Where "NAME" is the name of the user to create the database (usaully root is fine), and "DB_NAME" is the name of the database. Remember this name!
Where "NAME" is the name of the user to create the database (usaully root is fine), and "DB_NAME" is the name of the database. Remember this name!
<pre>
<pre>
Line 21: Line 21:
</pre>
</pre>
This will create (or just add to) a user called 'FOO', with a password of 'BAR'. Replace those with whatever you want. If the user doesn't exist, it'll be created. Again, remember these values (FOO and BAR)!
This will create (or just add to) a user called 'FOO', with a password of 'BAR'. Replace those with whatever you want. If the user doesn't exist, it'll be created. Again, remember these values (FOO and BAR)!



= Makin' the cake =
= Makin' the cake =