Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On 06/01/2012 09:19 AM, leeand00 wrote:
Good day all, 

I'm trying to query a MySQL Database (Ver 14.14 Distrib 5.5.22 for
debian-linux-gnu (i686) using readline 6.2) for purposes of generating a
report in OpenOffice Base ( Build ID 350m1 (Build:2)). 

I am connecting via ODBC, and my /etc/odbc.ini looks like this:

Driver = /usr/lib/i386-linux-gnu/odbc/
Description = MyODBC 3.51 Driver DSN
SERVER = localhost
USER = root
Password = XXXXX
Database = DigitalEditionsSolution

My query has one parameter, and it ends up giving me an error unrelated to
the syntax:

SELECT dfw.fk_desp_id, dfw.fk_dfws_id, dfw.Features_f_id, AS
DESP_Name, AS FeatureName, As ResponseState 
DESP_Feature_Weak_State dfws RIGHT OUTER JOIN
(DigitalEditionsSolutionProvider desp INNER JOIN (Features f INNER JOIN
DESP_Features_Weak dfw ON f.f_id = dfw.Features_f_id) ON desp.desp_id =
dfw.fk_desp_id) ON dfws.dfws_id = dfw.fk_dfws_id
WHERE desp.desp_id=:despnum AND
("auto-linking-of-email-addresses:yes" OR"auto-linking-of-urls:yes" OR"newsstandsupport:yes")
ORDER BY fk_desp_id;

When I run the above query, and enter my named parameter, it returns with
three errors:
- The data content could not be loaded
- SQL Status: 07009  

   Invalid descriptor index

- You tried to set a parameter at position '1' but there is/are only '0'
parameter(s) allowed. One reason may be that the property
"ParameterNameSubstitution" is not set to TRUE in the data source.

I found a thread on google concerning this same error in which someone said
checking off all of the Edit->Database->Advanced Settings options would
cause it to work, but I tried that, and even restarted Base, with out any
success, leading to the same error.

Thank you,
   Andrew J. Leer

View this message in context:
Sent from the Users mailing list archive at

In Ubuntu (and I assume Debian) there is a LO-MySQL specific connector
package available via Synaptic. The error, from what I am able to find
out, is problem with the odbc connector.

Jay Lozier

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.