TMyQuery error on MySQL on RedHat Linux server
Posted: Wed 24 Nov 2004 07:21
Hi, my database is on RedHat Linux server MySQL 4.0
The problem is when I used TMyQuery to open a table.
With QmyResult Do Begin
Close;
SQL.Clear;
SQL.add('SELECT * FROM Employee');
Open;
End;
I get the error message : the Employee table is not found
But I have the table in this case.
Anyway, when I change my query statement to :-
SQL.Add('SELECT * FROM employee');
Then it work ok.
So I suspend that the case sensitive for the TABLE NAME....
TMyQuery doesn't AUTO convert the SQL statement before open/execute it?
p/s : I used in window's mySQL version is OK, the case sensitive is no more a problem...
environment : Delphi 5, MySQL 4.0 on Redhat Linux, MyDac 3.3.012
The problem is when I used TMyQuery to open a table.
With QmyResult Do Begin
Close;
SQL.Clear;
SQL.add('SELECT * FROM Employee');
Open;
End;
I get the error message : the Employee table is not found
But I have the table in this case.
Anyway, when I change my query statement to :-
SQL.Add('SELECT * FROM employee');
Then it work ok.
So I suspend that the case sensitive for the TABLE NAME....
TMyQuery doesn't AUTO convert the SQL statement before open/execute it?

p/s : I used in window's mySQL version is OK, the case sensitive is no more a problem...
environment : Delphi 5, MySQL 4.0 on Redhat Linux, MyDac 3.3.012