OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
mysql
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/10/2024 09:42:49 AM
rwxr-xr-x
📁
bulgarian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
charsets
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
czech
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
danish
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
debian_create_root_user.sql
1.79 KB
04/23/2023 02:08:47 PM
rw-r--r--
📄
dictionary.txt
24.98 KB
03/16/2023 03:25:04 PM
rw-r--r--
📁
docs
-
05/09/2024 07:13:50 AM
rwxr-xr-x
📁
dutch
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
echo_stderr
27 bytes
04/23/2023 02:08:47 PM
rwxr-xr-x
📁
english
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
errmsg-utf8.txt
518.77 KB
03/16/2023 03:25:04 PM
rw-r--r--
📁
estonian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
fill_help_tables.sql
1.03 MB
03/16/2023 03:33:21 PM
rw-r--r--
📁
french
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
german
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
greek
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
hungarian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
innodb_memcached_config.sql
3.91 KB
03/16/2023 03:25:04 PM
rw-r--r--
📄
install_rewriter.sql
2.17 KB
04/23/2023 02:08:47 PM
rw-r--r--
📁
italian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
japanese
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
korean
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
magic
773 bytes
03/16/2023 03:25:04 PM
rw-r--r--
📄
mysql-log-rotate
844 bytes
04/23/2023 02:08:47 PM
rw-r--r--
📄
mysql-systemd-start
1.91 KB
08/19/2021 04:34:52 PM
rwxr-xr-x
📄
mysql_security_commands.sql
2.12 KB
03/16/2023 03:25:04 PM
rw-r--r--
📄
mysql_sys_schema.sql
281.58 KB
03/16/2023 03:25:04 PM
rw-r--r--
📄
mysql_system_tables.sql
151.8 KB
03/16/2023 03:25:04 PM
rw-r--r--
📄
mysql_system_tables_data.sql
1.19 KB
03/16/2023 03:25:04 PM
rw-r--r--
📄
mysql_test_data_timezone.sql
10.61 KB
03/16/2023 03:25:04 PM
rw-r--r--
📄
mysqld_multi.server
1.04 KB
04/23/2023 02:08:47 PM
rwxr-xr-x
📁
norwegian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
norwegian-ny
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
polish
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
portuguese
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
romanian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
russian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
serbian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
slovak
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
spanish
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
swedish
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📁
ukrainian
-
05/09/2024 07:13:51 AM
rwxr-xr-x
📄
uninstall_rewriter.sql
1.21 KB
04/23/2023 02:08:47 PM
rw-r--r--
Editing: mysql-systemd-start
Close
#!/bin/bash # # Scripts to run by MySQL systemd service # # Needed argument: pre # # pre mode : try to perform sanity check for configuration, log, data # Read a config option from mysql. Note that this will only work if a config # file actually specifies the option, so it's important to specify a default # $1 is application (e.g. mysqld for server) # $2 is option # $3 is default value used if no config value is found get_mysql_option() { result=$(my_print_defaults "$1" | sed -n "s/^--$2=//p" | tail -n 1) if [ -z "$result" ]; then result="$3" fi echo "$result" } sanity () { if [ ! -r /etc/mysql/my.cnf ]; then echo "MySQL configuration not found at /etc/mysql/my.cnf. Please create one." exit 1 fi datadir=$(get_mysql_option mysqld datadir "/var/lib/mysql") if [ ! -d "${datadir}" ] && [ ! -L "${datadir}" ]; then echo "MySQL data dir not found at ${datadir}. Please create one." exit 1 fi if [ ! -d "${datadir}/mysql" ] && [ ! -L "${datadir}/mysql" ]; then echo "MySQL system database not found in ${datadir}. Please run mysqld --initialize." exit 1 fi # Do a test start to make sure there are no configuration issues or similar # mysqld --verbose --help will output a full listing of settings and plugins. # To do so it needs to initialize the database, so it can be used as a test # for whether or not the server can start. We redirect stdout to /dev/null so # only the error messages are left. result=0 output=$(mysqld --verbose --help --innodb-read-only 2>&1 > /dev/null) || result=$? if [ ! "$result" = "0" ]; then echo "ERROR: Unable to start MySQL server:" >&2 echo "$output" >&2 echo "Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues." >&2 echo "Once the problem is resolved, restart the service." >&2 exit 1 fi } case $1 in "pre") sanity ;; esac