Am 13.11.2015 um 17:37 schrieb jim Zhou:
I change socket=/tmp/mysql.sock in my.cnf file and I am still having the
same error.
ls -lha /var/lib/mysql the directory is not empty. those .pem files are
created by the service even I deleted them.

write a bugreport if they are really created by the service before mysql_install_db is called, in the meantime make sure the directory is empty and call "mysql_install_db" by hand without trying to start the service before

P.S.: don't reply offlist!

[root@deweyods1 pem]# ls -lha /var/lib/mysql
total 48K
drwxr-x--x.  2 mysql mysql 4.0K Nov 13 07:33 .
drwxr-xr-x. 44 root  root  4.0K Nov 12 15:12 ..
-rw-------.  1 mysql mysql  255 Nov 13 08:27 .bash_history
-rw-------.  1 mysql mysql 1.7K Nov 13 07:33 ca-key.pem
-rw-r--r--.  1 mysql mysql 1.1K Nov 13 07:33 ca.pem
-rw-r--r--.  1 mysql mysql 1.1K Nov 13 07:33 client-cert.pem
-rw-------.  1 mysql mysql 1.7K Nov 13 07:33 client-key.pem
-rw-------.  1 mysql mysql 1.7K Nov 13 07:33 private_key.pem
-rw-r--r--.  1 mysql mysql  451 Nov 13 07:33 public_key.pem
-rw-r--r--.  1 mysql mysql 1.1K Nov 13 07:33 server-cert.pem
-rw-------.  1 mysql mysql 1.7K Nov 13 07:33 server-key.pem
-rw-------.  1 mysql mysql  578 Nov 12 15:21 .viminfo

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to