Changeset 873 for cpc/trunk/project/bin


Ignore:
Timestamp:
Oct 7, 2009, 3:37:21 PM (12 years ago)
Author:
goya
Message:

Centralisation de la conf db

Location:
cpc/trunk/project/bin
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/bin/dump

    r182 r873  
    11#!/bin/bash
    2 MYSQLID="-u root"
    3 path="/home/roux/dev/cpc/project"
     2. bin/db.inc
     3path="/home/nosdeputes/prod"
    44
    5 mysqldump $MYSQLID cpc -q --single-transaction --add-drop-table -R -t --disable-keys --complete-insert | gzip > ${path}/data/sql/data.sql.gz
     5mysqldump $MYSQLID $DBNAME -q --single-transaction --add-drop-table -R -t --disable-keys --complete-insert | gzip > ${path}/data/sql/data.dump.sql.gz
  • cpc/trunk/project/bin/loadsql

    r512 r873  
    11#!/bin/bash
    2 MYSQLID="-u cpc -pM_O_T__D_E__P_A_S_S_E"
    3 DBNAME="cpc"
     2. bin/db.inc
    43
    54#echo "SET FOREIGN_KEY_CHECKS = 0;" > /tmp/drop.sql
Note: See TracChangeset for help on using the changeset viewer.