我有两个主机(1: IP 192.186.234.192和2: IP 74.116.84.169),我有Joomla网站文件托管1,Joomla mysql数据库托管2,托管1和2都有Cpanel管理。我希望在host1上运行Joomla网站,将其远程链接到主机2上的mysql数据库。
在托管中添加了两个IP地址,用于在(远程MySQL)中承载一个IP地址。在Joomla configuration.php文件中,我更改了数
我得到了一些凭据,但我似乎遗漏了一些东西,因为脚本在尝试建立连接时出错。import mysql.connector
db = mysql.connector.connect(host='hostname', databasepassword='dbpass', port='000') if db.is_connected():
print(&
我正在创建一个测试系统,需要授予用户远程数据库访问权限。EditLine包装mysql> select * from mysql.user where user='codingo' and host='localhost';/etc/mysql/mysql.conf.d/mysqld.cnf
绑定-address 0.0