Can't find unit ZAbstractRODataset... lazarus / 16-Databases ---------------------------------------------------------------------- gecob · 2006-03-23 13:06 Hi to all! I've some problems to cennect mysql with zeoslib. In particular set this option in TZConnection: Port: 3306 Database: finanze Hostname: localhost Password: my_password Protocol: mysql-4.1 User: root Properties: Select * from entrate On click event of a button, I make: ZQuery1.ExecSQL; But when I start the application, apears this window: Code: [Select] { Questo file è stato creato automaticamente da Lazarus. Da non modificare! Questo sorgente viene usato solo per compilare ed installare il pacchetto.  } unit zcomponent; interface uses   ZAbstractDataset, ZAbstractRODataset, ZAbstractTable, ZComponentReg,     ZConnection, ZDataset, ZDatasetUtils, ZPropertyEditor, ZSqlMetadata,     ZSqlMonitor, ZSqlProcessor, ZSqlStrings, ZSqlUpdate, ZStoredProcedure,     ZStreamBlob, ZUpdateSqlEditor, ZSequence, LazarusPackageIntf; implementation procedure Register; begin   RegisterUnit('ZComponentReg', @ZComponentReg.Register); end; initialization   RegisterPackage('zcomponent', @Register); end.   And I recive this error: /home/giacomo/Download/Programmazione/Lazarus/zeos/packages/lazarus/zc omponent.pas(1021) Fatal: Can't find unit ZAbstractRODataset Why? The install of zeoslib was succesfully complet! Is there any example on how use mysql with this library? ---------------------------------------------------------------------- matthijs · 2006-03-23 19:07 Maybe the error message is a faulty. A select query should be opened not executed. So do not do Code: [Select]   ZQuery1.ExecSQL; but use Code: [Select]   ZQuery1.Open;