View Single Post
  #5  
Old 11-19-2004, 09:11 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by Muuss
None of these commands is reversable, and all of them but the 2 about dragoon's dirk insta change every of your items. Why not also posting how to make a quick backup/restore of the items table, like :

dump, will generate a text file named items.sql :

mysqldump -u `username` -p eq items > items.sql

restore (from mysql.exe) :

mysql> use eq;
mysql> delete from items;
mysql> source items.sql;
Dont you need to do mysqldump -u username -p eq --table items > items.sql?
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote