Code Search for Developers
 
 
  

dump.sh from SME Web Application Framework at Krugle


Show dump.sh syntax highlighted

#!/bin/bash
### dump the DB tables of the module

### go to this directory
cd $(dirname $0)

### get the variables
. config.sh

### dump the database into the file dbname.sql
mysqldump --add-drop-table --allow-keyword \
          --complete-insert --extended-insert \
          --host=$dbhost --user=$dbuser --password=$dbpasswd \
          --databases $dbname > DT.sql

### dump the database structure into the file dbname-tables.sql
mysqldump --add-drop-table --allow-keyword --no-data \
          --host=$dbhost --user=$dbuser --password=$dbpasswd \
          --databases $dbname > DT-tables.sql

### create the database with the command:
### $ mysql -p -u $dbuser < $dbname.sql





See more files for this project here

SME Web Application Framework

smewebapp intends to simplify the construction of web applications for informatization of the work of SME-s (small and medium enterprises), institutions, organizations etc.

Project homepage: http://sourceforge.net/projects/smewebapp
Programming language(s): JavaScript,PHP,Shell Script,XML
License: other

  DT.sql
  config.sh
  create.sh
  dump.sh