[Fatal Error] compiling with MySQL direct components

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mem5922
Posts: 4
Joined: Sat 23 Sep 2006 04:22
Location: CA, USA

[Fatal Error] compiling with MySQL direct components

Post by mem5922 » Wed 18 Oct 2006 18:47

Got the following error when compiling/running a new app that uses the MySQL Access components:
[Fatal Error] uMyOA.pas(8): Unit MyAccess was compiled with a different version of MySQLMonitor.TMySQLMonitor

I did have DAC for MySQL loaded earlier but thought I uninstalled it. Can anyone offer a suggestion? Thanks.

Mike

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 19 Oct 2006 07:41

Try to perform following steps to solve this problem:
1) Close IDE
2) Uninstall MyDAC
3) Search for MyAccess.*, DBAccess.*, MySQLMonitor.*, mydac*.bpl, dac*.bpl etc files at your HDD and delete them
4) Remove from the project directory all files made by compiler and linker
5) Remove from the registry (HKCU\Software\Borland\Delphi\7.0\Known Packages) all the links to MyDAC packages (mydac*.bpl, dac*.bpl)
6) Run IDE and check that it is started without errors
7) Close IDE
8) Install MyDAC once more

Post Reply