>Following is my Line of Code but it returns negitave value. > >cDatabaseName = 'Solistor' >cUsername = 'Ahsan' >cPassword = '' > >mHandle = SQLStringConnect("Driver={mySQL};" +; > "Server=db1.database.com;" +; > "Port=3306;" +; > "Option=131072;" +; > "Stmt=;" +; > "Database="+cDatabaseName+";" +; > "Uid="+cUsername+";" +; > "Pwd="+cPassword) >Please guide.
Ahsan
I don't know. I don't use MySQL. The command looks OK from examples. You have to make sure that the ports used are valid. Can you get to it from other means? If you can, use those same connection and credentials in VFP.
"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry