我正在製作一個iOS應用程序,我已經在亞馬遜上創建了RDS mysql任何想法如何連接iOS中的亞馬遜RDS。如何在iOS中連接亞馬遜rds mysql
<?php
// we connect to example.com and port 3307
define("HOST", "dbinstance.jjjjj.us-east-1.rds.amazonaws.com");
define("USER", "test"); // Replace the ??'s with your database user login name
define("PASSWORD", "test"); // Replace the ??'s with your database user's login password
define("DB", "test"); // Replace the ??'s with your database name
$connection = mysql_connect(HOST, USER, PASSWORD) or die(mysql_error());
$database = mysql_select_db(DB) or die(mysql_error());
?>
你能夠連接到本地MySQL嗎?你試過了什麼? –
是的,我能夠連接使用剃刀SQL – user3278422
嘿,你可以請告訴我什麼是剃鬚刀SQL和如何使用它?謝謝 – Minakshi