public void readDataBase() throws Exception { // This will load the MySQLdriver, each DB has its own driver // Setupthe connection with the DB
connect = Dri
我只是使用一个基本的代码来连接到我的Mysql数据库。我可以连接到我的服务器,但不能连接到数据库。使用sqlyog: $username = "root"; $dbhandle = mysql_connect($hostname, $username) or die("Unable to connect to MySQL");
$selected