IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Ippdb_copy_database


Ignore:
Timestamp:
Feb 24, 2009, 4:23:57 PM (17 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ippdb_copy_database

    v1 v1  
     1* make a backup of a mysql database called DBNAME with:
     2 mysqldump -uUSERID -hDBHOST -pPASSWD --opt DBNAME > DBNAME.mysql
     3
     4 * create a new database with:
     5 mysql> create database NEWDB;
     6
     7(user USERID must have CREATE permissions)
     8
     9 * unpack the backed-up copy of DBNAME into your new database NEWDB with:
     10
     11 mysql -uUSERID -hDBHOST -pPASSWD NEWDB < DBNAME.mysql
     12(will wipe out the exising DB)