• 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: SMySQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMySQL


  • Subject: Re: SMySQL
  • From: Don Rainwater <email@hidden>
  • Date: Fri, 16 Jul 2004 17:39:01 -0400

I have this working correctly in one of my programs, with nearly identical code for opening the connection. The only difference in the code itself is that I'm connecting to a remote host and not 'localhost'. I have two suggestions:

- Check your installation and inclusion of SMySQL. I didn't find it to be straightforward at first.

- This may be obvious, but check that you have permission to access the database on localhost using 'me' and 'mypassword'.

Hope this helps.


On Jul 16, 2004, at 4:51 PM, John Spicer wrote:

Has anyone managed to make this work? I have the compiled version
(CLI_test.command) which works, so I know I've got everything needed
outside the code.

But this line in my project:

MCPConnection *cp = [[MCPConnection alloc] initToHost:@"localhost"
withLogin:@"me" password:@"mypassword" usingPort:0];


returns nil.

I have included the framework (bundled) in the app.

I can't get the source for any of his sample projects to build, either.

My project does run, it just doesn't run well!!!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >SMySQL (From: John Spicer <email@hidden>)

  • Prev by Date: Re: owning the screen?
  • Next by Date: Re: Cocoa semantics
  • Previous by thread: SMySQL
  • Next by thread: Even More Bindings!
  • Index(es):
    • Date
    • Thread