MySQL Forums
Forum List  »  Install & Repo

Re: mysqld --initialize (Errcode: 17 - File exists)
Posted by: Philip Häderli
Date: January 04, 2017 11:01AM

i can help me self !

in the file /etc/apparmor.d/usr.sbin.mysql !

# Allow config access
/etc/mysql/** r,


/local_data/db/mysql/ r,
/local_data/db/mysql/** rwk,

i set the directory this permission !
chmod -R 0771 mysql/

you musst edit the my.cnf
comment out or edit the line !
'key_buffer=16M'
'myisam-recover=BACKUP'

Options: ReplyQuote


Subject
Written By
Posted
Re: mysqld --initialize (Errcode: 17 - File exists)
January 04, 2017 11:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.