• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: "Rajashekhar Managoli" <email@hidden>
  • Date: Tue, 30 Jan 2007 19:09:58 +0530

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


  • Follow-Ups:
    • Re: (no subject)
      • From: "R. Tyler Ballance" <email@hidden>
  • Prev by Date: RE: How to clear text of an NSTextView
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread