我的php容器没有连接到我的数据库容器,我遇到了问题。我的码头-Compose.yml : # this is the mysql data volume we are going to hostthe data inside # This volume is used for elasticsearch
dev_elastic_searchdocker volume t
我使用mysql-connector-java-5.0.7-bin将java与mysql.it连接起来,在IDE中工作良好,最后我创建了可执行文件jar.。当我从cmd窗口运行jar文件时,我在cmd中得到了以下错误db not connected -connectionjava.lang.ClassNotFoundException: com.my