我目前正在使用HostGator,但我的问题是无法使用HostGator文件连接到我的在线数据库(也就是HostGator)。我希望,如果我有互联网连接,我将连接到我的在线数据库,但如果没有,我将连接到我的离线localhost数据库。OR ip of mysite','username','password');} else
我在10.10.145.189的ubuntu上有Kamailio,在10.10.118.91的centos上有mysql。在安装kamailio时,命令在10.10.118.91上运行并创建了所有数据库,没有任何问题。ERROR 1045 (28000): Access denied for user 'kamailioro'@'ip-10-10-145-189.ec2.internal' (us
Perl代码总是连接到同一个MySQL(本地的但在错误中显示服务器的FQDN )数据库,尽管它被配置为连接到不同的服务器。请看密码。$datasetname="DBI:mysql:database=applications;host=entdb"
enter code here
错误打开数据库: DBI:mysql:database=applications;host