You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, i'm absolutely new to Docker so I have one question.
I followed the tutorial and successfully installed Wordpress on myIP:8080.
The point is i don't know what's the name of Mysql Database that WP using. Is there any way to do that? BTW, when i was trying to use command mysql_secure_installation to log in to Mysql to create more databases i couldn't. How should i do?
The text was updated successfully, but these errors were encountered:
Stop using this image. Use the official wordpress image and the mysql image. Then mount the mysql container into the wordpress container as they suggest.
If you are accessing the mysql database in a container based on this very image here, you are doing it wrong. It is not to be used by anything else but the sole wordpress install that is started in the container. Do not rely on internals. Only expect the interface to be working: You get a fresh wordpress install on port 80. Everything else is abuse.
In my case, my boss asked me to create one Docker images featuring CentOS, apache 2.27 , php 5.6, mysql 5.6 and wordpress. So i think the only way to do it is using DockerFile. But even though in my dockerfile i created an Mysql database with username and password but when running, i still couldn't login to mysql in docker container.
So as you said, there is no need to worry about login to Mysql database, just need Wordpress to run successfully, right?
So can you check my dockerfile and tell me if there is anything wrong or need to edit please? https://github.com/thinhduckhoi/ruby/issues/1
Hi guys, i'm absolutely new to Docker so I have one question.
I followed the tutorial and successfully installed Wordpress on myIP:8080.
The point is i don't know what's the name of Mysql Database that WP using. Is there any way to do that? BTW, when i was trying to use command mysql_secure_installation to log in to Mysql to create more databases i couldn't. How should i do?
The text was updated successfully, but these errors were encountered: