when trying to connecting to database and then open tables , its taking about 6-7 seconds to connect to the database , how could i speed it.
on form create event, im connecting to the database :
MasterDB.Connected:=true;
note that im using InnoDB engine ,Delphi2006 and MyDac 5.20.1.15
connecting to database is too slow
-
jkuiper_them
- Posts: 28
- Joined: Thu 20 Dec 2007 14:48
-
jkuiper_them
- Posts: 28
- Joined: Thu 20 Dec 2007 14:48
There's a different on fetching the tables or doing a select on a table.
If there a lot tables to display, it could take seconds. But it doesn't tell you about the connection.
If your doing a select in MySQL browser, does it take a time to get a result back? When do you notice that your connection is slow: on an entire table or a query?
If there a lot tables to display, it could take seconds. But it doesn't tell you about the connection.
If your doing a select in MySQL browser, does it take a time to get a result back? When do you notice that your connection is slow: on an entire table or a query?