I'm new to Lazarus, very experienced with Delphi. I'm trying to build my first database app, and I'm having trouble getting any data out of the database. I downloaded the source from this page:
http://wiki.lazarus.freepascal.org/MySQLDatabasesand I'm trying to make that work. After changing the connection component to a TMySQL50Connection I can connect, and it looks like the query is being sent. I'm having trouble getting the debugger to work (I have a thread in the debug forum), so I put messages at various places to get status. and it looks like the query executes without any exceptions, but when I test the "active" property it says it's closed and no data appears in the dbgrid. If I change the query to specify an invalid table name, it fails and says the table does not exist, so I know it's talking to the database.
Another odd thing is that I can't do "show databases" and "show tables"....it says I have a syntax error in my sql (yet I can issue these commands from "MySQL Query Browser).
I'm using Ubuntu 6.10 on the 2.6.19.3 kernel, and MySQL Administrator says I'm using server 5.0.24a-Debian_9-log and client 5.0.21.
Any ideas what's going on?
Thanks,
Rich