Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo find / -name my.cnf
- /etc/mysql/my.cnf
- 27652 root 20 0 4096 424 420 S 0 0.0 0:00.01 mysqld_safe
- 27769 mysql 20 0 392m 57m 7236 S 0 1.5 119116,08 mysqld
- mysqld --print-defaults
- mysqld would have been started with the following arguments:
- --user=mysql --socket=/var/run/mysqld/mysqld.sock --port=3306 --basedir=/usr --datadir=/var/lib/mysql --tmpdir=/tmp --skip-external-locking --bind-address=127.0.0.1 --key_buffer=16M --max_allowed_packet=16M --thread_stack=192K --thread_cache_size=8 --myisam-recover=BACKUP --query_cache_limit=1M --query_cache_size=16M --log_error=/var/log/mysql/error.log --expire_logs_days=9 --max_binlog_size=100M --innodb_file_per_table=1 --innodb_buffer_pool_size=500M --innodb_buffer_pool_size=500M --user=mysql --socket=/var/run/mysqld/mysqld.sock --port=3306 --basedir=/usr --datadir=/var/lib/mysql --tmpdir=/tmp --skip-external-locking --bind-address=127.0.0.1 --key_buffer=16M --max_allowed_packet=16M --thread_stack=192K --thread_cache_size=8 --myisam-recover=BACKUP --query_cache_limit=1M --query_cache_size=16M --log_error=/var/log/mysql/error.log --expire_logs_days=9 --max_binlog_size=100M --innodb_file_per_table=1 --innodb_buffer_pool_size=500M --innodb_buffer_pool_size=500M
- [client]
- port = 3306
- socket = /var/run/mysqld/mysqld.sock
- [mysqld_safe]
- socket = /var/run/mysqld/mysqld.sock
- nice = 0
- [mysqld]
- user = mysql
- socket = /var/run/mysqld/mysqld.sock
- port = 3306
- basedir = /usr
- datadir = /var/lib/mysql
- tmpdir = /tmp
- skip-external-locking
- bind-address = 127.0.0.1
- key_buffer = 16M
- max_allowed_packet = 16M
- thread_stack = 192K
- thread_cache_size = 8
- myisam-recover = BACKUP
- query_cache_limit = 1M
- query_cache_size = 16M
- log_error = /var/log/mysql/error.log
- expire_logs_days = 10
- max_binlog_size = 100M
- innodb_file_per_table = 1
- [mysqldump]
- quick
- quote-names
- max_allowed_packet = 16M
- [mysql]
- [isamchk]
- key_buffer = 16M
- !includedir /etc/mysql/conf.d/
- [mysqld]
- innodb_buffer_pool_size = 500M
- strace -e trace=open mysqld
- open("/etc/ld.so.cache", O_RDONLY) = 3
- open("/lib64/libpthread.so.0", O_RDONLY) = 3
- open("/lib64/libaio.so.1", O_RDONLY) = 3
- open("/lib64/libm.so.6", O_RDONLY) = 3
- open("/lib64/librt.so.1", O_RDONLY) = 3
- open("/lib64/libcrypt.so.1", O_RDONLY) = 3
- open("/lib64/libdl.so.2", O_RDONLY) = 3
- open("/usr/lib64/libssl.so.10", O_RDONLY) = 3
- open("/lib64/libcrypto.so.10", O_RDONLY) = 3
- open("/lib64/libc.so.6", O_RDONLY) = 3
- open("/usr/lib64/libfreebl3.so", O_RDONLY) = 3
- open("/lib64/libgssapi_krb5.so.2", O_RDONLY) = 3
- open("/lib64/libkrb5.so.3", O_RDONLY) = 3
- open("/lib64/libcom_err.so.2", O_RDONLY) = 3
- open("/lib64/libk5crypto.so.3", O_RDONLY) = 3
- open("/lib64/libz.so.1", O_RDONLY) = 3
- open("/lib64/libkrb5support.so.0", O_RDONLY) = 3
- open("/lib64/libkeyutils.so.1", O_RDONLY) = 3
- open("/lib64/libresolv.so.2", O_RDONLY) = 3
- open("/usr/lib64/libselinux.so.1", O_RDONLY) = 3
- open("/proc/filesystems", O_RDONLY) = 3
- open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
- open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
- open("/etc/my.cnf", O_RDONLY) = 3
- open("/etc/localtime", O_RDONLY) = 3
- open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 3
- open("/proc/sys/crypto/fips_enabled", O_RDONLY) = 3
- /etc/init.d/mysql start --query_cache_size=0
- mysql.server start
- Starting MySQL. SUCCESS!
- sudo chmod 644 my.cnf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement