Sign in Join
Wiki copytemporary

Lazarus Database Tutorial/SampleListing: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Lazarus Database Tutorial/SampleListing

OldNewLine
1+kirkpatc@anglican:~/FreePascal/fpc/packages/base/mysql> ./trydb
2+
3+ Enter Hostname: localhost
4+ Enter Username: kirkpatc
5+ Enter Password: ****
6+ Allocating Space...
7+ Connecting to MySQL...Done.
8+ Connection data:
9+ Mysql_port : 3306
10+ Mysql_unix_port : /var/lib/mysql/mysql.sock
11+ Host info : Localhost via UNIX socket
12+ Server info : Uptime: 11505 Threads: 1 Questions: 11 Slow queries: 0 Opens: 7 Flush tables: 1 Open tables: 1 Queries per second avg: 0.001
13+ Client info : 4.0.15
14+ Selecting Database testdb...
15+ Enter SQL Query: select * from FPdev
16+ Executing query : select * from FPdev...
17+ Number of records returned : 8
18+ Number of fields per record : 3
19+ (Id: 1, Name: Michael Van Canneyt, Email : Michael...tfdec1.fys.kuleuven.ac.be)
20+ (Id: 2, Name: Florian Klaempfl, Email : ba2395...fen.baynet.de)
21+ (Id: 3, Name: Carl-Eric Codere, Email : codc01...gel.usherb.ca)
22+ (Id: 4, Name: Daniel Mantione, Email : d.s.p.mantione...twi.tudelft.nl)
23+ (Id: 5, Name: Pierre Muller, Email : muller...europe.u-strasbg.fr)
24+ (Id: 6, Name: Jonas Maebe, Email : jmaebe...mail.dma.be)
25+ (Id: 7, Name: Peter Vreman, Email : pfv...worldonline.nl)
26+ (Id: 8, Name: Gerry Dubois, Email : gerry...webworks.ml.org)
27+ Enter SQL Query: select id, username from FPdev where id<6
28+ Executing query : select id, username from FPdev where id<6...
29+ Number of records returned : 5
30+ Number of fields per record : 2
31+ (Id: 1, Name: Michael Van Canneyt, Email : )
32+ (Id: 2, Name: Florian Klaempfl, Email : )
33+ (Id: 3, Name: Carl-Eric Codere, Email : )
34+ (Id: 4, Name: Daniel Mantione, Email : )
35+ (Id: 5, Name: Pierre Muller, Email : )
36+ Enter SQL Query: quit
37+ Executing query : quit...
38+
39+---
40+*From the Free Pascal wiki, page "Lazarus Database Tutorial/SampleListing", as it stood on 2013-12-26 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
41+Category: Code

Back to history