Skip to content

Instantly share code, notes, and snippets.

/gist:2dbf0a13121fd601940c Secret
Created May 21, 2013

Embed
What would you like to do?
[root@db-02 gajus]# ls -la /var/mysql/
total 8
drwxr-xr-x 2 mysql mysql 4096 May 3 12:30 .
drwxr-xr-x. 19 root root 4096 May 3 12:30 ..
[root@db-02 gajus]# ls -la /var/log/mysql/
total 72
drwxr-xr-x 2 mysql mysql 4096 May 21 07:15 .
drwxr-xr-x. 6 root root 4096 May 21 06:19 ..
-rw-rw---- 1 mysql mysql 126 May 21 05:29 mysql-bin.000001
-rw-rw---- 1 mysql mysql 126 May 21 05:48 mysql-bin.000002
-rw-rw---- 1 mysql mysql 126 May 21 05:49 mysql-bin.000003
-rw-rw---- 1 mysql mysql 126 May 21 05:53 mysql-bin.000004
-rw-rw---- 1 mysql mysql 126 May 21 05:54 mysql-bin.000005
-rw-rw---- 1 mysql mysql 107 May 21 05:54 mysql-bin.000006
-rw-rw---- 1 mysql mysql 126 May 21 05:57 mysql-bin.000007
-rw-rw---- 1 mysql mysql 126 May 21 06:16 mysql-bin.000008
-rw-rw---- 1 mysql mysql 126 May 21 06:17 mysql-bin.000009
-rw-rw---- 1 mysql mysql 126 May 21 06:18 mysql-bin.000010
-rw-rw---- 1 mysql mysql 126 May 21 06:19 mysql-bin.000011
-rw-rw---- 1 mysql mysql 126 May 21 06:24 mysql-bin.000012
-rw-rw---- 1 mysql mysql 126 May 21 06:59 mysql-bin.000013
-rw-rw---- 1 mysql mysql 126 May 21 07:03 mysql-bin.000014
-rw-rw---- 1 mysql mysql 126 May 21 07:15 mysql-bin.000015
-rw-rw---- 1 mysql mysql 480 May 21 07:15 mysql-bin.index
[root@db-02 gajus]# ls -la /var/lib/mysql/
total 2246692
drwxr-xr-x. 2 mysql mysql 4096 May 21 07:15 .
drwxr-xr-x. 18 root root 4096 Apr 17 16:52 ..
-rw-------. 1 mysql mysql 12 Apr 17 17:03 .bash_history
-rw------- 1 mysql mysql 134219048 May 21 07:39 galera.cache
-rw-rw---- 1 mysql mysql 104 May 21 07:15 grastate.dat
-rw-rw---- 1 mysql mysql 18874368 May 21 07:15 ibdata1
-rw-rw---- 1 mysql mysql 1073741824 May 21 07:15 ib_logfile0
-rw-rw---- 1 mysql mysql 1073741824 May 21 05:05 ib_logfile1
srwxrwxrwx 1 mysql mysql 0 May 21 07:15 mysql.sock
-rw-r--r-- 1 root root 298 May 21 05:04 RPM_UPGRADE_HISTORY
-rw-r--r-- 1 mysql mysql 298 May 21 05:04 RPM_UPGRADE_MARKER-LAST
[root@db-02 gajus]# ls -la /var/run/mysqld/
total 8
drwxr-xr-x 2 mysql mysql 4096 May 3 13:20 .
drwxr-xr-x. 14 root root 4096 May 21 06:19 ..
[root@db-02 gajus]# ls -la /etc/my.cnf
-rwxrwxr-x 1 mysql mysql 1296 May 21 06:23 /etc/my.cnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.