Last active
December 31, 2015 09:49
-
-
Save jruels/7968976 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [mysqld] | |
| datadir=/var/lib/mysql | |
| socket=/var/lib/mysql/mysql.sock | |
| #user=mysql | |
| # Disabling symbolic-links is recommended to prevent assorted security risks | |
| symbolic-links=0 | |
| ## Replication | |
| #server-id = 2 | |
| #master-connect-retry=60 | |
| #relay-log = /var/lib/mysql/mysql-relay-bin | |
| #relay-log-index = /var/lib/mysql/mysql-relay-bin.index | |
| #master-info-file = /var/lib/mysql/mysql-master.info | |
| #relay-log-info-file = /var/lib/mysql/mysql-relay-log.info | |
| #log-bin = /var/lib/mysql/mysql-bin | |
| [mysqld_safe] | |
| log-error=/var/log/mysqld.log | |
| pid-file=/var/run/mysqld/mysqld.pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| netstat -tuplan|grep -i mysql | |
| tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 6639/mysqld |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysql 6639 6.7 44.9 1069524 455936 pts/1 Sl 04:38 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment