smysl bundled
smysl bundled
- Subject: smysl bundled
- From: DANIEL SPARTACUS <email@hidden>
- Date: Sat, 22 May 2004 18:50:57 +0200
is there any have try to connected smsysql framework
to mac ox 10,3 aand mysql 4,018
my code is this one and had nerver connection
the connection sais that j connected but where that the problhme
if j use a ava connection it's ok
my conection must bee local
if any body a idea help me
@implementation maConnexion
// initialisateur
- (id)init
{
self = [super init];
if (self)
{
//mySQLConnection=[[MCPConnection alloc]init];
theConnec = [[MCPConnection alloc] initToHost:@"localHost"
withLogin:@""
password:@"" usingPort:0];
////[theConnec selectDB:@"test"];
//MCPConnection * theConnec=[MCPConnection alloc];
MCPResult *theRes;
// theConnec = [theConnec initToHost:@"localHost" withLogin:@""
password:@"" usingPort:0];
if (isConnected)
{
//[theConnec selectDB:@"test"];
theRes=[theConnec queryString:@"select libelle from produit"] ;
//theResult=[[theRes fetchFieldsName] retain];
}
}
return self;
}
_______________________________________________
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.