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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Knob Finger Spinner Graph...
by
circular
[
Today
at 10:15:44 pm]
Snaking ZigZag Curve: PRO...
by
Handoko
[
Today
at 10:12:04 pm]
Library: Embed DLL in EXE
by
Tomxe
[
Today
at 09:57:37 pm]
MVP made easier.
by
Hansvb
[
Today
at 09:45:27 pm]
FPC 3.2.2 using Result wi...
by
PascalDragon
[
Today
at 08:54:54 pm]
FPC 3.2.2 - maximum Lengt...
by
PascalDragon
[
Today
at 08:44:23 pm]
Writing a TMemo widget fr...
by
paule32
[
Today
at 08:38:32 pm]
ChatGPT and algorithms
by
TBMan
[
Today
at 06:18:46 pm]
Deleting exe-file not wor...
by
d2010
[
Today
at 06:14:27 pm]
[solved] macro for code ?
by
TBMan
[
Today
at 06:06:34 pm]
Named range
by
Thaddy
[
Today
at 05:22:17 pm]
Math.RoundTo incorrect so...
by
BeniBela
[
Today
at 04:07:40 pm]
2d "platform" game sugges...
by
TBMan
[
Today
at 03:47:29 pm]
FPC 3.2.2 + Lazarus 3.4 C...
by
Martin_fr
[
Today
at 03:32:22 pm]
Rain Simulator
by
Boleeman
[
Today
at 02:57:30 pm]
Turbo Pascal's default fo...
by
Thaddy
[
Today
at 02:34:28 pm]
Amigo programming languag...
by
paxscript
[
Today
at 02:07:13 pm]
More AI hype?
by
Joanna from IRC
[
Today
at 02:01:16 pm]
I didn't expect this
by
simone
[
Today
at 01:40:01 pm]
Reading axis range after ...
by
wp
[
Today
at 11:41:42 am]
Testing with SQLite3DataS...
by
CharlyTango
[
Today
at 10:55:38 am]
Detecting symbol correspo...
by
Tommi
[
Today
at 10:13:27 am]
[SOLVED] WebP images and ...
by
circular
[
Today
at 09:29:34 am]
[SOLVED] How to "Jump To"...
by
Markus
[
Today
at 09:24:57 am]
debugger not showing vari...
by
Martin_fr
[
Today
at 09:13:58 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: 'show databases' not working (Read 7096 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