Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我通过容器安装,启动时mysql报错了 #71

Open
liong911 opened this issue Apr 8, 2021 · 1 comment
Open

我通过容器安装,启动时mysql报错了 #71

liong911 opened this issue Apr 8, 2021 · 1 comment

Comments

@liong911
Copy link

liong911 commented Apr 8, 2021

making JAR...
cleaning up...
done.
-->Starting mysql
 * Stopping MySQL database server mysqld
   ...done.
 * Starting MySQL database server mysqld
   ...fail!
[root@hpcentos7 hackpad]#

使用这个命令启动

docker run -p 9000:9000 -v /home/lgl/docker/hackpad/hackpad:/etc/hackpad/src hackpad
@liong911 liong911 changed the title 我通过容器安装,使用docker-compose启动的时间mysql报错了 我通过容器安装,启动时mysql报错了 Apr 8, 2021
@polohuang
Copy link

first, you need to modify bin/docker-entrypoint.sh
service mysql restart ==> find /var/lib/mysql -type f -exec touch {} ; && service mysql restart
then, docker build and run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants