8/31/2023 0 Comments Phpstorm docker mysqlCheck if the database user exists and can connect null, message from server: "Host '172.17.0.1' is not allowed to connect to this MySQL server" This is the error : Connection to failed. How could I test this connection and how could I have the phpstorm db connection working? UPDATEĪfter the port is exposed (with was the issue) we can't connect to the container using SELECT host, user FROM er DB_HOST=127.0.0.1ĬONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESĠedce223c684 mysql/mysql-server:5.7 "/entrypoint.sh mysq…" 34 minutes ago Up 34 minutes (healthy) 3306/tcp, 33060/tcp stupefied_johnson netstat -vanp tcp | grep 3306 shows nothing.Īnd my Laravel can't connect to the db server neither. There is no process running in the port 3306. Type '\c' to clear the current input statement. Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Server version: 5.7.25 MySQL Community Server (GPL)Ĭopyright (c) 2000, 2019, Oracle and/or its affiliates. Mysql: Using a password on the command line interface can be insecure. I can get access to it trough the terminal: docker exec -it 0ed bash Following these Basic Steps for MySQL Server Deployment with Docker, I am trying to make connection with the container trough the php storm database.Īnd I am getting the error below in the picture:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |