Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncBash
/
mcBash
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 075150c0
authored
Dec 05, 2013
by
sn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Beispiel aufruf in die skripte
1 parent
263292e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
bin/ncExportMysql.sh
bin/ncImportMysql.sh
bin/ncExportMysql.sh
View file @
075150c
...
...
@@ -11,7 +11,8 @@
execute
=
1
logfile
=
"
$__PATH_to_Log
/ncExportMysql.
$1
.log"
mc_h1
"
$0
$1
$2
$3
(logfile=
$logfile
)"
mc_e
"
$0
!database! dbuser dbpasswd"
mc_e
"
$0
$1
$2
$3
(logfile=
$logfile
)"
mc_parameter
"1"
"1"
"
$1
"
"mysql Datenbank (muss vorhanden sein)"
mc_parameter
"2"
"0"
"
$2
"
"Datenbankbenutzer (default root)"
mc_parameter
"3"
"0"
"
$3
"
"Datenbankpasswort "
...
...
bin/ncImportMysql.sh
View file @
075150c
...
...
@@ -9,8 +9,8 @@
.
"
$__PATH_to_mcBash
/include.inc.sh"
execute
=
1
mc_
h1
$0
$1
$2
$3
$4
mc_e
"
$0
!file.sql! !database! dbuser dbpasswd dbuser dbpasswd"
mc_
e
"
$0
$1
$2
$3
$4
$5
$6
"
mc_parameter
"1"
"1"
"
$1
"
"mysql.sql import Datei"
mc_parameter
"2"
"1"
"
$2
"
"mysql Datenbank (darf nicht vorhanden sein)"
mc_parameter
"3"
"0"
"
$3
"
"mysql Benutzer (default root)"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment