Thread: [SOLVED] Zeos mySQL linking
View Single Post
Old 02-25-2015, 11:49 AM
kolbasz kolbasz is offline
Senior Member
Join Date: Nov 2013
Posts: 841

Copy the libmysql.dll to your project folder. It should be a LibraryLocation property(TZconnection), enter the full path to your dll. On form create, you should also give the full path programatically, in case you move your exe/dll, to another folder.

ZConnection1.LibraryLocation := ExtractFilePath(Application.Exename) + 'libmysql.dll';
Where ZConnection1 is your main TZConnection.

Hope this helps!