Separate Instances of MySQL 4.0 and MySQL 4.1 on Windows
Assuming you already have MySQL 4.0 running on its default port (3306), install MySQL 4.1 and set its service name to MySQL41 and its port to 3307.
The ASP connection string is as follows:
"driver={MYSQL ODBC 3.51 Driver};" & _
“server=localhost;port=3307;” & _
“uid=user1;pwd=a_password;database=db1″
The PHP connection method is as follows:
$c = mysql_connect("localhost:3307", "user1", "a_password");
mysql_select_db(”db1″, $c);
One Response to “Separate Instances of MySQL 4.0 and MySQL 4.1 on Windows”
1 rochi 3 April 2007 @ 2:08 am
salamX
boleh ke bagi full tutorial? saya budak baru nak belajar.. tutorial dalam BM lagi masyuk..
dulu sek mashoor ke? spm tahun berapa?
Comments: