Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 2 of 2
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Post Thanks / Like
    Rep Power
    22
    Reputation
    382

    [Linux] Easy update command trinity


    Register to remove this ad
    Here's a few super easy command's that puts all the sql updates in correct order in a file which you can execute and it will run all the updates.



    Steps :

    1-> Go to your sql updates/world folder
    2-> Enter command: ls -1 > ../update
    3-> Enter command: sed 's/^/mysql -pYOURROOTMYSQLPASSWORD world < /' -i ../update
    4-> Enter command: chmod 700 ../update
    5-> Enter command: mv ../update .
    6-> Enter command: ./update

    Tadaaaa. All sql command executed in the right order.

    PS: you can trow this all in a .sh file for ease.
    PS: This example only works for world updates. replace world in the sql statement with the database you need.
    Make sure your also in the correct dbase folder.



    › See More: [Linux] Easy update command trinity



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Premium
    Asbonia's Avatar
    Join Date
    Oct 2013
    Location
    Norway
    Posts
    151
    Post Thanks / Like
    Rep Power
    12
    Reputation
    35

    Register to remove this ad
    Basic Linux

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 04:55 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org