| View previous topic :: View next topic |
| Author |
Message |
Jackson Gomes - Tools&Com Guest
|
Posted: Mon Dec 27, 2004 11:49 am Post subject: mySQL and dbExpress - Unable to list tables in IDE |
|
|
Hello:
I have a mySQL database with a set of tables and I'm unable to list the
tables in the Delphi IDE. I can connect to the database from Delphi and I
can see the tables using a external tool (DBTools Manager -
[url]http://www.dbtools.com.br)[/url].
I tried connecting with the root user and also with a new user who have all
grants in the database with no success.
I'm using mySQL 3.23.58nt and the same problem happens with Delphi 6 and 7.
Any tips?
Many thanks
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: [email]jackson (AT) toolsandcomps (DOT) com[/email]
Phone: 55 27 99602760 / 55 27 33891138
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
|
|
| Back to top |
|
 |
paladin Guest
|
Posted: Wed Dec 29, 2004 10:07 pm Post subject: Re: mySQL and dbExpress - Unable to list tables in IDE |
|
|
you dont say exactly what components you are trying,
so let me suggest something i know works:
hook up an sqlconnection and set Connected = TRUE
hook up an sqldataset to that, and set CommandType to ctTable
now dropdown CommandText and you should see tables listed.
hth!
paladin
"Jackson Gomes - Tools&Comps" <jackson (AT) toolsandcomps (DOT) com> wrote
| Quote: | Hello:
I have a mySQL database with a set of tables and I'm unable to list the
tables in the Delphi IDE. I can connect to the database from Delphi and I
can see the tables using a external tool (DBTools Manager -
[url]http://www.dbtools.com.br)[/url].
I tried connecting with the root user and also with a new user who have all
grants in the database with no success.
I'm using mySQL 3.23.58nt and the same problem happens with Delphi 6 and 7.
Any tips?
Many thanks
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: [email]jackson (AT) toolsandcomps (DOT) com[/email]
Phone: 55 27 99602760 / 55 27 33891138
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
|
|
|
| Back to top |
|
 |
Jackson Gomes - Tools&Com Guest
|
Posted: Wed Dec 29, 2004 11:27 pm Post subject: Re: mySQL and dbExpress - Unable to list tables in IDE |
|
|
Hi:
| Quote: | you dont say exactly what components you are trying,
so let me suggest something i know works:
hook up an sqlconnection and set Connected = TRUE
hook up an sqldataset to that, and set CommandType to ctTable
now dropdown CommandText and you should see tables listed.
|
This is exactly what I did, but could not see any tables in the dropdown
list. The same thing happens with Delphi 6 and 7 with all patches applied.
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: [email]jackson (AT) toolsandcomps (DOT) com[/email]
Phone: 55 27 99602760 / 55 27 33891138
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
|
|
| Back to top |
|
 |
paladin Guest
|
Posted: Fri Dec 31, 2004 10:39 pm Post subject: Re: mySQL and dbExpress - Unable to list tables in IDE |
|
|
jackson
if you zip up your project directory and post it to B.P.Attachments
I will look at it for you. also post a note here, so I notice.
-paladin
"Jackson Gomes - Tools&Comps" <jackson (AT) toolsandcomps (DOT) com> wrote
| Quote: | Hi:
you dont say exactly what components you are trying,
so let me suggest something i know works:
hook up an sqlconnection and set Connected = TRUE
hook up an sqldataset to that, and set CommandType to ctTable
now dropdown CommandText and you should see tables listed.
This is exactly what I did, but could not see any tables in the dropdown
list. The same thing happens with Delphi 6 and 7 with all patches applied.
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: [email]jackson (AT) toolsandcomps (DOT) com[/email]
Phone: 55 27 99602760 / 55 27 33891138
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
|
|
|
| Back to top |
|
 |
Jackson Gomes - Tools&Com Guest
|
Posted: Wed Jan 05, 2005 10:20 am Post subject: Re: mySQL and dbExpress - Unable to list tables in IDE |
|
|
| Quote: | if you zip up your project directory and post it to B.P.Attachments
I will look at it for you. also post a note here, so I notice.
|
I just build a form with a SQLConnection and a TSQLQuery, nothing more.
Thanks
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: [email]jackson (AT) toolsandcomps (DOT) com[/email]
Phone: 55 27 99602760 / 55 27 33891138
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.825 / Virus Database: 563 - Release Date: 30/12/2004
|
|
| Back to top |
|
 |
paladin Guest
|
Posted: Wed Jan 05, 2005 8:04 pm Post subject: Re: mySQL and dbExpress - Unable to list tables in IDE |
|
|
| Quote: | if you zip up your project directory and post it to B.P.Attachments
I will look at it for you. also post a note here, so I notice.
I just build a form with a SQLConnection and a TSQLQuery, nothing more.
|
in the previous post I suggested you:
"hook up an sqldataset to that, and set CommandType to ctTable..."
to which you replied:
"This is exactly what I did..."
But now you claim:
"I just build a form with a SQLConnection and a TSQLQuery..."
so how exactly, with a TSQLQuery component, are you trying:
"...to list the tables in the Delphi IDE" ?
-paladin
|
|
| Back to top |
|
 |
Jackson Gomes - Tools&Com Guest
|
Posted: Thu Jan 06, 2005 12:39 pm Post subject: Re: mySQL and dbExpress - Unable to list tables in IDE |
|
|
Just a bit of confusion. Sorry. I tried with all dataset components with no
success.
| Quote: | if you zip up your project directory and post it to B.P.Attachments
I will look at it for you. also post a note here, so I notice.
I just build a form with a SQLConnection and a TSQLQuery, nothing more.
in the previous post I suggested you:
"hook up an sqldataset to that, and set CommandType to ctTable..."
to which you replied:
"This is exactly what I did..."
But now you claim:
"I just build a form with a SQLConnection and a TSQLQuery..."
so how exactly, with a TSQLQuery component, are you trying:
"...to list the tables in the Delphi IDE" ?
-paladin
|
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.827 / Virus Database: 564 - Release Date: 03/01/2005
|
|
| Back to top |
|
 |
|