Tel
asked on
Problem with MySQL via dbExpress - get invalid username/password after doing queries
Hi
Does anyone know why the MaxStmtsPerConn in the TSQLConnection component always gets set to 1 when using mysql (v4) and dbexpress?
Everytime i create a query a new connection is opened, i thought this could support loads of queries?
This is causing me no end of grief as i soon run out of connections!
Does anyone know why the MaxStmtsPerConn in the TSQLConnection component always gets set to 1 when using mysql (v4) and dbexpress?
Everytime i create a query a new connection is opened, i thought this could support loads of queries?
This is causing me no end of grief as i soon run out of connections!
ASKER
problem is the same is 3.23 and 4.0 - as i have said in my other question (on the mysql page) it is the way dbExpress is working.
I have seen on the net another company that produces dbExpress - do you know if their driver is any better?
I have seen on the net another company that produces dbExpress - do you know if their driver is any better?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I assume you're using the 3.23 client libraries to connect to 4.0 that that sooner or later will cause conflicts. I suggest you downgrade your server to the latest 3.23 and I'm sure your problems will be fixed.
If downgrading is not an option, look for an alternative method for connecting to mysql other than dbexpress.