Forum > Databases
Why do I get this error in MySQL demo (linux)
rturney:
I have been following the discussion on the MySQL tutorial/demo http://freeflow.awardspace.com/lazarus.html and have been trying to get it to work in Linux (SUSE 10.2). I get good results until I click the "Select Database" button. This causes this error:
--- Quote ---Project raised exception class 'EDatabaseError' - Operation cannot be performed on an active dataset.
--- End quote ---
I get the impression that Windows users aren't having this problem, just linux users are. Any ideas would be appreciated.
arwen:
I have try the demo on linux Fedora Core 5 now.
Effectively I receive the same message of warning but giving OK (in phase of debug it must make start) the application works and I can execute a Query .
I have had this message opening the tables of MySQL:
information_schema
mysql
We would have to try with an other table.
Sincerely I do not know because but some guru of MySQL can help us. :wink:
rturney:
I get the error on any database I try including those that I have created myself.
--- Quote ---by arwen:
...I receive the same message of warning but giving OK (in phase of debug it must make start) the application works and I can execute a Query.
--- End quote ---
I also can click "ok" to the message and the application continues to work, filling the Fields list and allowing Queries to be executed.
I have not been able to prevent the error or find the source of it.
Does this error occur when running under Windows?
arwen:
With windows it works correctly without strange messages .
Try to compile after you have set
the SQLQuery.ParseSQL to false in the object inspector
I don't know why but I solved some problem on windows
operating as mentioned above .
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=3761
:?
rturney:
--- Quote from: "arwen" ---
Try to compile after you have set
the SQLQuery.ParseSQL to false in the object inspector
--- End quote ---
Thanks, but I still get the error. :(
Navigation
[0] Message Index
[#] Next page