{"action":"opened","issue":{"url":"https://api.github.com/repos/docker-library/mysql/issues/317","repository_url":"https://api.github.com/repos/docker-library/mysql","labels_url":"https://api.github.com/repos/docker-library/mysql/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/mysql/issues/317/comments","events_url":"https://api.github.com/repos/docker-library/mysql/issues/317/events","html_url":"https://github.com/docker-library/mysql/issues/317","id":250424971,"number":317,"title":"[mysql 5.7] mysqld --initialize-insecure is failed","user":{"login":"applyforprofessor","id":20928785,"avatar_url":"https://avatars1.githubusercontent.com/u/20928785?v=4","gravatar_id":"","url":"https://api.github.com/users/applyforprofessor","html_url":"https://github.com/applyforprofessor","followers_url":"https://api.github.com/users/applyforprofessor/followers","following_url":"https://api.github.com/users/applyforprofessor/following{/other_user}","gists_url":"https://api.github.com/users/applyforprofessor/gists{/gist_id}","starred_url":"https://api.github.com/users/applyforprofessor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/applyforprofessor/subscriptions","organizations_url":"https://api.github.com/users/applyforprofessor/orgs","repos_url":"https://api.github.com/users/applyforprofessor/repos","events_url":"https://api.github.com/users/applyforprofessor/events{/privacy}","received_events_url":"https://api.github.com/users/applyforprofessor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-15T20:15:52Z","updated_at":"2017-08-15T20:15:52Z","closed_at":null,"body":"The entrypoint.sh file called mysqld with **--initialize-insecure.**\r\n`\r\necho '[Entrypoint] Initializing database'\r\n\"$@\" --initialize-insecure\r\necho '[Entrypoint] Database initialized'\r\n`\r\n\r\nThe script show '[Entrypoint] Initializing database' and **exit** when i executed `docker run -v /hostdir:/var/lib/mysql mysql:5.7 `. I think the init is failed, but it create ib_logfile1 , ib_logfile101 and ibdata1.(**they don't creaet with mysqld --help, because i remove they before initialized**)\r\n\r\n**fllow is output of log**\r\n`docker@myvm-root:/Users/liujialong/docker/image/mysql-docker/5.7$ docker run -v /Users/liujialong/docker/web/mysql/data:/var/lib/mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7\r\n[Entrypoint] MySQL Docker Image 5.7.19-1.1.0\r\nstart\r\nmysqld\r\n/var/lib/mysql/\r\ntotal 110592 -rw-r----- 1 1000 ftp 50331648 Aug 15 19:37 ib_logfile1 -rw-r----- 1 1000 ftp 50331648 Aug 15 19:37 ib_logfile101 -rw-r----- 1 1000 ftp 12582912 Aug 15 19:37 ibdata1\r\n[Entrypoint] Delete /var/lib/mysql/ib_logfile1\r\n[Entrypoint] Delete /var/lib/mysql/ib_logfile101\r\n[Entrypoint] Delete /var/lib/mysql/ibdata1\r\ntotal 0\r\n_**[Entrypoint] Initializing database**_\r\ndocker@myvm-root:/Users/liujialong/docker/image/mysql-docker/5.7$ ls`"}}
{"actor":{"display_login":"applyforprofessor"}}