Search found 68 matches

by Pitfiend
06.06.2011, 20:11
Forum: ZeosLib 7.0 Beta Forum
Topic: Problem Existing mysql project, WideString instead of String
Replies: 1
Views: 640

I had a similar problem. Try looking into your .dfm files, not only the .pas ones. Fix both and maybe you'll be fine.
by Pitfiend
06.06.2011, 20:04
Forum: MySQL
Topic: [Solved] ZeosDBO on Mac
Replies: 1
Views: 574

Are you sure that exists a mysql port to mac osx10.6? if so, you need to put the client libraries in the search path, don't know if mac has something like that, try to put them in the same folder as your lazarus binaries and your application, just in case.
by Pitfiend
01.06.2011, 21:17
Forum: 6.6 - stable
Topic: Save/load dataset and table to/from memory stream
Replies: 7
Views: 3801

I think it is possible. You get the datafields, you convert them to something similar to a csv format, you add them to your string stream, repeat as needed, them you save your stream. To load a stream into component you do it in reverse order. This kind of process can be usefull to make database dum...
by Pitfiend
15.05.2011, 09:28
Forum: SQLite
Topic: sqlite, zeos and delphi urgent help
Replies: 6
Views: 4106

mmm... A common SELECT statement must be in the form SELECT field1, field2, ..., fieldN FROM tablename WHERE some_condition Anything you put in the field definition will become a field of your result table (take in mind that any query becomes a logical table), any field can be fetched as a .fieldbyn...
by Pitfiend
27.04.2011, 19:41
Forum: Firebird
Topic: Problem with delphi 7, zeos 6.6.6 stable & Firbird 2.5 f
Replies: 4
Views: 1920

Even in BDE you need to close a query before you assign a new sql sequence. IMHO you are asking for a feature no one will implement.
by Pitfiend
21.03.2011, 00:26
Forum: MySQL
Topic: Delpoying a Zeoslib delphi 7 application to a WinAMP server
Replies: 1
Views: 516

It seems you need to grant permissions to the user you are trying to connect with. An out-of-the-box installation didn't configure your databases to be reachable over local network. From my experience, I can told you this: - Grant privilege over your database as 'user'@'%' (this need to be done for ...
by Pitfiend
06.12.2010, 00:17
Forum: 6.6 - stable
Topic: Problem with MySQL Libs [ZEOS + MySQL + Delphi 7]
Replies: 5
Views: 2447

Also, be sure to have the dlls available on your path, or your application folder.
by Pitfiend
28.09.2010, 05:21
Forum: PostgreSQL
Topic: Prepared statements
Replies: 2
Views: 1773

As long as I'm aware, there's no such thing under Zeos hood v6 stable.

You have 2 ways to execute sql statements:
a) Fill the sql property of a zquery and call execsql.
b) Call executedirect from a zconnection.
by Pitfiend
11.08.2010, 18:11
Forum: 6.6 - stable
Topic: how to use TZQuery with multi statement sql string
Replies: 4
Views: 1049

execsql is a metod from zquery object. just in case. I think you can send every non select in the same query, call execsql and then set your select statment and open it.
by Pitfiend
02.08.2010, 20:47
Forum: 6.6 - stable
Topic: Help with Zquery.filter
Replies: 3
Views: 709

Filters must work with any engine, what you need to be aware of is that the engines are not always datatype compatible. I learned that the hard way. From my experience, ADO and MySQL didn't match 100%, SQLite has a relaxed datatype model (means that it only has 4 general datatypes), didn't try any o...
by Pitfiend
30.07.2010, 08:37
Forum: MySQL
Topic: unknown MySQL Datatype
Replies: 10
Views: 3118

Hi mates, today I had a similar trouble with unknown MySql data types... after a detailed search, I find the damn cause: I had a dated libmysql.dll inside my delphi bin directory. How this happens, I don't know, but after deleting it, I didn't get any more weird errors again and everything else did ...
by Pitfiend
07.07.2010, 07:16
Forum: MySQL
Topic: Problemas de conexion libmysqlclient.so.15
Replies: 4
Views: 892

Prueba cambiandole el nombre a libmysqld.so, fijate bien que sea libmysqld.so.16. Te recomiendo que pongas esa libreria en la carpeta de tu aplicacion para evitar conflictos con otras apliaciones.
by Pitfiend
02.04.2010, 01:49
Forum: SQLite
Topic: Create Database + Table From Scratch (Programatically)
Replies: 6
Views: 2195

are you aware of the dynamic typing of sqlite? that means you can store anything inside any field. also, there are some restrictions related to primary keys. you need to be aware that there are 4 generic datatypes only and a NULL value. more info here.
by Pitfiend
31.03.2010, 08:05
Forum: SQLite
Topic: Create Database + Table From Scratch (Programatically)
Replies: 6
Views: 2195

get a look in this post http://zeos.firmos.at/viewtopic.php?t=2627 you also need to know that not all datatypes can be used in sqlite.
by Pitfiend
20.02.2010, 04:42
Forum: ZeosLib 7.0 Beta Forum
Topic: Cannot update this query type
Replies: 6
Views: 1708

If the error only happens when you wrote your queries in uppercase, then it's an engine configuration issue. You must check how the postgres server is configured, and try to set it to use case insensitive configuration.