- ประเด็นคือจะแก้คอนฟิก MySQL container docker
- แต่ไม่มี text editor ให้ใช้ทำไงล่ะทีนี้
Solved
- Mysql build the image with oracle linux, run the commands to install nano:
bash-5.1# microdnf update
bash-5.1# microdnf install nano sudo -y
- And edit the my.cnf with nano
Ref
- https://stackoverflow.com/questions/60521151/how-to-install-sudo-and-nano-command-in-mysql-docker-image