![]() I tried out the dump by installing MySQL on my host, it can be restored. PhpStorm 2019.1.3 Build PS-191.7479.51, built on JmacOS 10.14.5 Th app is running inside docker and remotehost should be set to by my docker-compose. docker-compose.yml version: 3 services: docker-mysql: image: mysql:5. It seems that it does nothing, because the terminal responds too quickly. Issue is due to reference of localhost in the jdbc url. # -password=test_pass DATABASE SHOW TABLES # To restore a dump `docker exec -i my_mysql /usr/bin/mysql -u root There is one thing I just thought of though - Im running Docker under WSL2 and PhpStorm is running under Windows 10. I dont have any databases or anything running on 3306 on my host machine. Improve your teams developer experience by coding in a. # To open up console, run `docker exec -it my_mysql bash`. danblack Im starting the docker instance w/ docker-compose up. Gitpod is a cloud development environment for teams to efficiently and securely develop software. # WORKS ONLY IN USER'S DIR ON WINDOWS (~/Downloads for example) # The current directory will be mounted to '/var/www/html' # (192.168.99.100 for example - shown on the top of the console) ![]() ![]() # 'localhost' does not works from the host, but the IP of docker itself # Use Dockerfile in this dir to build the image I'm sure this is a duplicated topic, but I simply cannot get it done: I like to restore my database dump to MySQL container in run time, without modifying the docker-compose.yml file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |