Jump to content
  • 0

Updating SVN


Phaige

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   3
  • Joined:  01/28/12
  • Last Seen:  

I need help on how to update server files from 17128 to the latest revision without wiping my sql database.. I have a running server.. need support on this thanks..

Edited by Phaige
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

If you are using linux

 

cd /root/Desktop/trunk

ls

svn update

 

to upgrade your .sql in database

 

 

Import MySQL Tables 

Change directory to the sql-files folder.cd trunk/sql-files/
Execute these commands:When prompted, enter your MySQL root password.mysql --user=root -p rathena4444_rag < main.sql
mysql --user=root -p rathena4444_rag < item_db.sql
mysql --user=root -p rathena4444_rag < item_db2.sql
mysql --user=root -p rathena4444_rag < mob_db.sql
mysql --user=root -p rathena4444_rag < mob_db2.sql
mysql -u root -p rathena4444_log < logs.sql

NOTE: if you want to use different SQL DBs for login/char/map servers this is the list of databases each server use:
login-server: global_reg_value, ipbanlist, login, loginlogmap-server: mapreg, item_db, item_db2, mob_db, mob_db2char-server: everything else + global_reg_value once again
Note that global_reg_value tables are needed by both login-server and char-server (though it may be different tables)
 

source http://rathena.org/wiki/Installation_%28CentOS%29#SVN_Checkout

 

or you can use your phpmyadmin

 

follow this guide

 

http://rathena.org/board/topic/77315-update-logs-on-linux-phpmyadmin/

 

Note: only update your database with the following changes

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

just go in ur trunk directory , and do "svn update" without quotes ,

then for sql tables

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/sql-files/upgrades/

 

update ur sql db from above link files.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...