function mysql_read_single_row($sql, $array_of_values) {
//create a connection$DBH = new PDO("mysql:host=".CONST_MYSQL_HOST.";dbname=".CONST_MYSQL_DBNAME, CONST_MYSQL_RUSER, CONST_MYSQL_RPASS);
我已经在windows server 2008上安装了php,mysql,phpmyadmin,一切正常。现在,我安装了Openfire并将其连接到mysql数据库。我现在遇到的问题是,每次运行openfire时,我都无法连接到数据库或登录phpmyadmin。看起来openfire正在干扰mysql的端口!我正在为mysql使用端口3306。因此,当我打开fireopen时,我的php脚本将无法连接到数据库,我也将无法登录到phpmyadmin。但是当我关闭openf
我的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 to host th