Search found 68 matches

by Pitfiend
11.01.2019, 20:09
Forum: ZeosLib 7.3/8.0 Forum
Topic: Embedded MySQL missing
Replies: 6
Views: 1119

Re: Embedded MySQL missing

I understand. So, it's breaking code legacy.
by Pitfiend
10.01.2019, 01:56
Forum: ZeosLib 7.3/8.0 Forum
Topic: Embedded MySQL missing
Replies: 6
Views: 1119

Re: Embedded MySQL missing

Have both for same app. How do I specify which one is to be used? Before I just set the protocol and everything works on wheels... now... its a bit confusing. Having both separated was fine and easy, because I used an .ini file to set parameters and choose the correct .dll Maybe it seems a good idea...
by Pitfiend
08.01.2019, 21:01
Forum: ZeosLib 7.3/8.0 Forum
Topic: Embedded MySQL missing
Replies: 6
Views: 1119

Embedded MySQL missing

In the 7.3.0-Alpha, the embedded MySQL driver is not present in the protocols list. Is this a new "feature"? EDIT: There are two libraries for MySQL - libmysql.dll (this one works with protocol MySQL and connects to remote servers) - libmysqld.dll (this one is not available, it is supposed...
by Pitfiend
24.07.2015, 08:42
Forum: ZeosLib 7.1 stable Forum
Topic: Connect Zeoslib to Oracle
Replies: 7
Views: 3887

Re: Connect Zeoslib to Oracle

From what I see, you miss some DLLs, you need to put libmysql.dll in the same folder as your app or put it in a system path. If you don't have any DLL, you must download mysql zip file and have a look inside the lib folder for them (don't mix x32 with x64 binaries). There are 2 DLLs, one for remote ...
by Pitfiend
06.07.2015, 18:36
Forum: SQLite
Topic: Aggregate Fields Always Created as String Fields
Replies: 2
Views: 2063

Re: Aggregate Fields Always Created as String Fields

That's an issue with SQLite, it only has 4 datatypes and to be worst enough, they are interchangeable and not strict typed.
by Pitfiend
06.07.2015, 18:32
Forum: ZeosLib 7.1 stable Forum
Topic: Connect Zeoslib to Oracle
Replies: 7
Views: 3887

Re: Connect Zeoslib to Oracle

To be able to connect to a remote server, in the hostname you put it's domain or ip address (also need to set the port), the rest stays as is. The Mysql server must be reachable, that means it must be in the same network space or expossed to the internet (something not so wise imho).
by Pitfiend
06.07.2015, 18:27
Forum: ZeosLib 7.1 stable Forum
Topic: Connect Zeoslib to Oracle
Replies: 7
Views: 3887

Re: Connect Zeoslib to Oracle

Here's an example of what I do to connect to any database engine supported by ZeosLib fini:= TIniFile.Create(ChangeFileExt( application.ExeName,'.ini')) ; with ZConnection1 do begin Protocol := fini.ReadString('Database', 'Protocol', 'mysqld-5'); Database := fini.ReadString('Database', 'Database', '...
by Pitfiend
19.04.2015, 06:06
Forum: ZeosLib 7.2 Forum
Topic: Installing Delphi 2010, ZCore not found
Replies: 2
Views: 962

Re: Installing Delphi 2010, ZCore not found

check if you have added ALL the folders from the sources (component, core, dbc, parsesql, plain) to your library path, then try to recompile.
by Pitfiend
09.04.2015, 02:11
Forum: ZeosLib 7.2 Forum
Topic: libmysqld55.dll download
Replies: 1
Views: 1585

Re: libmysqld55.dll download

When you download the MySQL Community Server for Windows, in the lib folder you can find both libmysql.dll and libmysqld.dll. But beware, the latest versions of libmysqld.dll don't work, I found that myself and post it in the MySQL section. The one that still works is version 5.6.10. Previous versio...
by Pitfiend
21.03.2015, 23:27
Forum: MySQL
Topic: Latest embed MySQL is broke
Replies: 0
Views: 1807

Latest embed MySQL is broke

Some days ago, when updated my local server to latest MySQL binaries (32 bits), the remote conections works fine, but the embed one throwns an Access Violation. This happens with versions 5.6.21 and 5.6.23. Have reverted to version 5.6.10 and everything works fine. Didn't try other versions, neither...
by Pitfiend
22.05.2013, 08:56
Forum: SQLite
Topic: create database with sqlite
Replies: 4
Views: 3377

take a look here http://zeoslib.sourceforge.net/viewtopic.php?t=2627
(I kept the old reference for historical purpose http://zeos.firmos.at/viewtopic.php?t=2627)
by Pitfiend
02.05.2013, 19:37
Forum: ZeosLib 7.0 Stable Forum
Topic: Can anyone help me with this?
Replies: 10
Views: 1644

Hey man, no need to be rude, we are trying to help you. I take some time to run your code and check what's going on. First, next time you want to catch an exception do it line by line, that way you are going to know what happens in every step. Second, take a time to check your code many times, it he...
by Pitfiend
02.05.2013, 05:36
Forum: ZeosLib 7.0 Stable Forum
Topic: Can anyone help me with this?
Replies: 10
Views: 1644

CONSTRAINT fk_types_recipe1 , ' + ' FOREIGN KEY (recipe_recipeid) , ' + ' REFERENCES recipe (recipeid) , ' + ' ON DELETE NO ACTION , ' + ' ON UPDATE NO ACTION' + Did you notice that? you put some , in the middle of your command, in the wrong places, that's what I think is your trouble from the very...
by Pitfiend
01.05.2013, 07:22
Forum: ZeosLib 7.0 Stable Forum
Topic: Can anyone help me with this?
Replies: 10
Views: 1644

I just noticed you use a username and a password, be sure your user has all the rights granted to do any of these operations. Delphi has no preference or dislike with sql, you can do anything allowed by the server. Then, if your server forbids something to your user, your going to get that kind of e...
by Pitfiend
25.04.2013, 23:09
Forum: ZeosLib 7.0 Stable Forum
Topic: Can anyone help me with this?
Replies: 10
Views: 1644

Mate, your trouble lies in the order in which you create each table, take a closer look, you want to set a relation between tables and some not exists yet. You must create your master tables first, then your dependents.