Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
'show databases' not working
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Gitlab site history date.
by
Martin_fr
[
Today
at 04:38:24 pm]
[New Component] ExtTabCtr...
by
d7_2_laz
[
Today
at 03:20:54 pm]
IndySecOpenSSL is now ava...
by
LeP
[
Today
at 03:09:08 pm]
Sizes and SizeInt
by
440bx
[
Today
at 02:15:13 pm]
how to add a ForEach call...
by
jamie
[
Today
at 12:42:04 pm]
XLibre, finally and fortu...
by
kagamma
[
Today
at 12:15:10 pm]
[SOLVED] Watches panel is...
by
CM630
[
Today
at 12:06:33 pm]
How to monitor changes in...
by
Martin_fr
[
Today
at 11:55:18 am]
Conscious Artificial Inte...
by
Dzandaa
[
Today
at 11:50:59 am]
Printer Info
by
J-G
[
Today
at 11:26:52 am]
Strange Behaviour at Runt...
by
andrew Bubble
[
Today
at 11:19:45 am]
Can I get the position an...
by
CM630
[
Today
at 11:00:33 am]
WEBP, no DLLs
by
CM630
[
Today
at 08:52:43 am]
Dataset EnableControls/Di...
by
Sharfik
[
Today
at 07:40:21 am]
TVirtualDBTreeEx and upda...
by
Sharfik
[
Today
at 07:36:30 am]
made hooking newinstance ...
by
Thaddy
[
Today
at 06:56:17 am]
Interesting video
by
Curt Carpenter
[
Today
at 04:28:27 am]
I found an actual use for...
by
jamie
[June 09, 2026, 11:48:04 pm]
Lazarus Main and Gnome/Wa...
by
Jonax
[June 09, 2026, 09:02:10 pm]
MacOS post compilation sc...
by
marcou
[June 09, 2026, 07:30:07 pm]
water filling simulation
by
Dzandaa
[June 09, 2026, 06:53:35 pm]
Pdf Viewer in Pascal
by
Tomxe
[June 09, 2026, 05:00:32 pm]
How can 'Canvas does not ...
by
J-G
[June 09, 2026, 03:05:01 pm]
AArch64. Fast method to c...
by
Thaddy
[June 09, 2026, 01:58:45 pm]
Can /my/ AI help me with ...
by
microxa
[June 09, 2026, 12:12:06 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: 'show databases' not working (Read 7270 times)
steve080233
Newbie
Posts: 3
'show databases' not working
«
on:
September 28, 2006, 06:12:51 am »
i'm trying to run the database component example posted on wiki at
http://wiki.lazarus.freepascal.org/MySQLDatabases
. I've gotten to the point where I can regular query's at the 'show databases' point, but not the actual 'show databases' command that populates the list component(well, I'm doing a list, anyway). I always get 'Error executing query. You have an error in your syntax'. Obviously 'show databases' works at the mysql prompt, but not from the gui. help?????[/url]
Logged
RudieD
Full Member
Posts: 234
RE:
«
Reply #1 on:
September 28, 2006, 05:24:48 pm »
I use 'show databases;' and it works fine. Did you remember to put the ; at the end of the command ?
Logged
The FRED Trainer. (Training FRED with Lazarus/FPC)
steve080233
Newbie
Posts: 3
RE:
«
Reply #2 on:
September 28, 2006, 05:30:56 pm »
It wasn't in the published code, but I tried it anyway and got the same thing. Get the same thing with 'show tables, with or without the ';'. Like I say, regular 'select * from <blah>' works fine even without the ';'. Hmmm......
Logged
RudieD
Full Member
Posts: 234
RE:
«
Reply #3 on:
September 28, 2006, 06:27:12 pm »
What version of MySQL are you running ?
Logged
The FRED Trainer. (Training FRED with Lazarus/FPC)
steve080233
Newbie
Posts: 3
RE:
«
Reply #4 on:
September 29, 2006, 04:39:23 am »
I have mysql Ver 12.22 Distrib 4.0.26, for Win32 (ia32)
Logged
RudieD
Full Member
Posts: 234
RE:
«
Reply #5 on:
September 29, 2006, 03:45:21 pm »
MySQL are now only at version 5.x ?
Logged
The FRED Trainer. (Training FRED with Lazarus/FPC)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
'show databases' not working
TinyPortal
© 2005-2018