lsemenenko / digitalocean_domain_bulk_delete.sh
0 curtidas
0 bifurcações
1 arquivos
Última atividade 1 year ago
| 1 | #!/bin/bash |
| 2 | |
| 3 | # Script to process domains from a file, validate format, check if they exist, and delete them |
| 4 | |
| 5 | # Check if the input file exists |
| 6 | if [ ! -f "$1" ]; then |
| 7 | echo "Error: Input file '$1' not found." |
| 8 | exit 1 |
| 9 | fi |
lsemenenko / optimize_innodb_tables.sh
0 curtidas
0 bifurcações
1 arquivos
Última atividade 1 year ago
| 1 | #!/bin/bash |
| 2 | |
| 3 | # Script to optimize all InnoDB tables in a specified MySQL database |
| 4 | # Usage: ./optimize_innodb_tables.sh <database_name> [options] |
| 5 | |
| 6 | # Display help information |
| 7 | function show_help { |
| 8 | echo "Usage: $0 <database_name> [options]" |
| 9 | echo "" |
| 10 | echo "Options:" |
lsemenenko / convert_to_innodb.sh
0 curtidas
0 bifurcações
1 arquivos
Última atividade 1 year ago
| 1 | #!/bin/bash |
| 2 | #=============================================================================== |
| 3 | # convert_to_innodb.sh |
| 4 | #=============================================================================== |
| 5 | # Description: |
| 6 | # Converts all non-InnoDB tables in a MySQL database to the InnoDB engine. |
| 7 | # This script requires a properly configured ~/.my.cnf file for authentication. |
| 8 | # It automatically detects all tables with engines other than InnoDB and |
| 9 | # converts them one by one, providing progress updates. |
| 10 | # |
Próximo
Anterior