Grow Your Business Online.
Products & Services Submit a ticket My Tickets
Selamat datang
Masuk  Mendaftar

Connection Strings for MySQL

Cold Fusion (DNSless):
connectstring="Driver={MySQL ODBC 3.51 Driver};SERVER=serverIP;UID=user;PWD=pass;DATABASE=mydb;network=dbmssocn"


connectstring="Driver={MySQL ODBC 5.1 Driver};SERVER=serverIP;UID=user;PWD=pass;DATABASE=mydb;network=dbmssocn"

Cold Fusion (DNS):
datasource="DSN" username="user" password="pass"

Perl (DSNless):
$dbh = DBI->connect('dbi:mysql:mydatabase:serverIP','user','pass');

PHP (DSNless):
$db = mysql_connect("serverIP", "user", "pass")

MyConn.Open "dsn"

ASP (DSNless):
"Driver={MySQL ODBC 3.51 Driver};" & _
"Server=serverIP;" & _
"Port=3306;" & _
"Option=131072;" & _
"Stmt=;" & _
"Database=mydatabase;" & _
"Uid=user;" & _

Apakah jawaban ini bermanfaat? Ya Tidak

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.