Manoj
Manoj
- Subject: Manoj
- From: "Rajashekhar Managoli" <email@hidden>
- Date: Wed, 31 Jan 2007 10:31:59 +0530
---------- Forwarded message ----------
From: Rajashekhar Managoli <email@hidden>
Date: Jan 30, 2007 7:09 PM
Subject:
To: email@hidden
Hi All,
I am trying to connect to my MySQL database using objective C code.
MCPConnection *theConnec = [MCPConnection alloc];
MCPResult *theRes;
NSDictionary *theDict;
NSArray *theColNames;
theConnec = [theConnec initToHost:@"localhost" withLogin:@"root"
password:@"root" usingPort:3306];
[theConnec selectDB:@"test"];
I have imported the MCPKIT framework also.But I am not able to connect to
the database.
Can somebody help me out in this code or any alternative way to connect to
the database.
Thanks and Regards
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden