Editing Eng:J2J:AdminGuide

From JaWiki (Jabber/XMPP wiki)
Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: MediaWiki upgrading

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 31: Line 31:
 
  createdb j2j
 
  createdb j2j
 
* mysql
 
* mysql
  mysql -h localhost -u root -p -e "CREATE DATABASE j2j;"
+
  mysql -h localhost -p
 +
>CREATE DATABASE j2j;
  
 
Let's create a DB user:
 
Let's create a DB user:
Line 38: Line 39:
 
A -P key means, that user is created with a password-prompt. Store it, because it will be needed for next steps. Same with yourpassword in mysql:
 
A -P key means, that user is created with a password-prompt. Store it, because it will be needed for next steps. Same with yourpassword in mysql:
 
* mysql:
 
* mysql:
  mysql -h localhost -u root -p -e "GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON j2j.* TO 'j2j'@'localhost' IDENTIFIED BY 'yourpassword';"
+
  mysql -h localhost -p
 +
>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON j2j.* TO 'j2j'@'localhost' IDENTIFIED BY 'yourpassword';
  
 
And import a database structure:
 
And import a database structure:
Line 45: Line 47:
 
  \i pgsql.schema
 
  \i pgsql.schema
 
* mysql
 
* mysql
  mysql -h localhost -u root -p -e "use j2j; \. mysql.schema"
+
  mysql -h localhost -p
 +
>use j2j
 +
>\. mysql.schema
  
 
=== Gateway configuration ===
 
=== Gateway configuration ===

Please note that all contributions to JaWiki (Jabber/XMPP wiki) may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see JaWiki (Jabber/XMPP wiki):Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Templates used on this page: