Rev 502 | Rev 848 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 502 | Rev 511 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/bin/bash |
1 | #!/bin/bash |
2 | 2 | ||
- | 3 | # OIDplus 2.0 |
|
- | 4 | # Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft |
|
- | 5 | # |
|
- | 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
|
- | 7 | # you may not use this file except in compliance with the License. |
|
- | 8 | # You may obtain a copy of the License at |
|
- | 9 | # |
|
- | 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
|
- | 11 | # |
|
- | 12 | # Unless required by applicable law or agreed to in writing, software |
|
- | 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
|
- | 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
- | 15 | # See the License for the specific language governing permissions and |
|
- | 16 | # limitations under the License. |
|
- | 17 | ||
3 | # Export tables "demo_*" into file setup/sql/example_access.sql |
18 | # Export tables "demo_*" into file setup/sql/example_access.sql |
4 | # We don't print to console because of encoding issues |
19 | # We don't print to console because of encoding issues |
5 | mysqldump --default-character-set=utf8 --no-create-info --extended-insert=FALSE oidplus demo_iri demo_asn1id demo_ra demo_objects -r ../setup/sql/example_access.sql |
20 | mysqldump --default-character-set=utf8 --no-create-info --extended-insert=FALSE oidplus demo_iri demo_asn1id demo_ra demo_objects -r ../setup/sql/example_access.sql |
6 | 21 | ||
7 | # Remove database prefix |
22 | # Remove database prefix |