我有下面的php代码来连接到mysql。mysql_connect( "myserver.com" , "root", "redhat","datastore") or die(mysql_error()); Warning: mysql_connect(): Host '10.21.21.10' is not allowed to connect
我正在设置一个应用程序,它需要连接到云端的数据库()。我有一个php文件,它连接到数据库并返回我需要的所有数据。它在本地主机上运行得很好,但我不能让它在云上工作。<?PHP_EOL;}else{
echo "Success: A proper connection to MySQL was made!: "cloudtest-2412**:southameri
我想在本地系统(localhost)中运行PHP脚本,并将数据存储在服务器数据库中。通过PHP脚本从本地主机连接到远程mysql数据库时出现错误。Warning: mysql_connect(): Access denied for user 'XXXX'@'ip address' (using password: YES) in E:\xampp\htdocs\New\example\inc