Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: "R. Tyler Ballance" <email@hidden>
- Date: Tue, 30 Jan 2007 07:53:37 -0600
On Jan 30, 2007, at 7:39 AM, Rajashekhar Managoli wrote:
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.
This is way offtopic for the list as it deals with third party tools
I believe, I'd recommend contacting the folks that wrote MCPKIT.
You may also want to try using the MySQL C/C++ API, then if something
is broken, it's probably you're fault :-P
Cheers
R. Tyler Ballance: Lead Mac Developer at bleep. software
contact: email@hidden | jabber: email@hidden
_______________________________________________
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
References: | |
| >(no subject) (From: "Rajashekhar Managoli" <email@hidden>) |