• 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
Re: Connecting to SQLITE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting to SQLITE


  • Subject: Re: Connecting to SQLITE
  • From: "Namrata Dwivedi" <email@hidden>
  • Date: Fri, 1 Dec 2006 07:45:38 +0530

Hi,
As Suggestet I have downloaded MySql but I am not finding the exe file from
where the MySql server can be started.
Likebefore starting it asks for hostname,user name, password.
such thing is not coming.
If any step by step guide is available then please tell me.

Thanks & Regards,
Nam


On 11/30/06, Ayyapu Reddy <email@hidden> wrote:

hello, r u looking for sqlite database connection or MySQL database, if its later, then first check whether your MySQL database server is running, try whether u r able to login to the database with the GUI application(MySQL Query Browser). if above two are perfect then in initToHost: pass host name/ip. * * * * * * *Regards,* *Ayyapu Reddy* *+919986045921* Sr.Software Engineer Celstream Technologies Ltd. Bangalore-560029. *There is no better way to master a subject than by borrowing from those who already discovered better ways to do things.***


On 30-Nov-06, at 5:05 PM, Namrata Dwivedi wrote:

 Hi,


As suggested to me I have downloaded and included the SMySql framework in my project, now I am trying to connect to the SMySql database.


For that I am writing the following piece of code but I am not able to retrieve the data from the database. MCPConnection *theConnec = [MCPConnection alloc]; MCPResult *theRes; NSDictionary *theDict; NSArray *theColNames; theConnec = [theConnec initToHost:@"" withLogin:@"" password:@"" usingPort:0]; [theConnec selectDB:@"testdb"]; //Database name I have created is Testdb NSLog(@"connection",theConnec); theRes = [theConnec queryString:@"select * from login"]; //login is the name of the table I have created theColNames = [theRes fetchFiedlsName];


Can you help me in connecting to the Sqlite database. Its quite urgent


Thanks, Nam _______________________________________________


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



  ______________________________________________________________
DISCLAIMER:
This electronic message, and any attachments to this electronic message
are
intended for the exclusive use of the addressee(s)named herein and may
contain
legally privileged and confidential information. It is the property of
Celstream
Technologies Limited. If you are not the intended recipient, you are
hereby
strictly notified not to copy, forward, distribute or use this message or
any
attachments thereto. If you have received this message in error, please
delete
it and all copies thereof from your system and notify the sender at
Celstream
Technologies or email@hidden immediately
_______________________________________________________________

_______________________________________________

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: 
 >Connecting to SQLITE (From: "Namrata Dwivedi" <email@hidden>)
 >Re: Connecting to SQLITE (From: "Namrata Dwivedi" <email@hidden>)

  • Prev by Date: Re: Problems with NSArrayController and keyPath Operator
  • Next by Date: Re: Problems with NSArrayController and keyPath Operator
  • Previous by thread: Re: Connecting to SQLITE
  • Next by thread: Re: Connecting to SQLITE
  • Index(es):
    • Date
    • Thread