3 messages in org.openoffice.fr.progRe: [prog] probleme de connexion
FromSent OnAttachments
Snopie Snopie1Aug 26, 2005 4:37 am 
Matthieu COUTIEREAug 26, 2005 5:14 am 
Snopie Snopie1Aug 26, 2005 8:12 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] probleme de connexionActions...
From:Snopie Snopie1 (snop@yahoo.fr)
Date:Aug 26, 2005 8:12:58 am
List:org.openoffice.fr.prog

je ne sais pas mais ce probleme parrait quand j'execute le code plusieurs fois ;

--- Matthieu COUTIERE <matt@coutiere.com> a écrit :

N'est-ce pas juste un problème de Base, qui limite les connexions à un certain nombre ?

M.

Snopie Snopie1 wrote:

Bonjour liste j'ai un probleme de connexion sur clic d'un combo je doit me connecter à ma base de données,jusqu'a mnt tt est bien , quand je clic plusieurs fois il m'affiche un msg erreur . '====================== Sub ConnecterSource() ConfigDocCalc() Dim NomSource As String, login As String, password As String Dim maSource As Object, monDbContext As Object

NomSource = "zizmy" monDbContext = CreateUnoService( _

"com.sun.star.sdb.DatabaseContext")

maSource=monDbContext.getByName(NomSource) login = "zizu" password = "zizu" maConnexion = maSource.getConnection(login, password)<======Erreur if IsNull(maConnexion) then MsgBox("Connexion impossible", 16) Stop end if End Sub '=======================================

Erreur: Exception Type:com.sun.star.sdbc.SQLException Message:[unixODBC][MySQL][ODBC 3.51 Driver Too many

connections. dans merci d'avance @+ snopie

___________________________________________________________________________

Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------

To unsubscribe, e-mail: prog@fr.openoffice.org For additional commands, e-mail: prog@fr.openoffice.org

To unsubscribe, e-mail: prog@fr.openoffice.org For additional commands, e-mail: prog@fr.openoffice.org