[ILUG] MySQL & Staroffice/Openoffice

Pat olearypj at rte.ie
Thu Mar 31 11:39:14 IST 2005


On Wednesday 30 March 2005 14:44, CPH wrote:
> On Wednesday 30 March 2005 13:25, Pat wrote:
> > Hi folks,
> >               I am trying to use a mysql database as the data source for
> > Staroffice 7 & Openoffice. I downloaded mysql-connector-java-3.1.7 &
> > installed it & set up Staroffice & openoffice to use it to connect to the
> > mysql database. This allowes Staroffice & OPenoffice to connect to the
> > database & see the tables but wont allow me to write to or modify the
> > database in any way. Whether i connect as the mysql admin. or an ordinary
> > user makes no difference even though i can work at the command line when
> > logged in to the mysql database as admin. or an ordinary user. Using the
> > mysql GRANT command i have granted all privileges to an ordinary user
> > followed by FLUSH PRIVILEGES. any help would be appreciated.
>
> Have a look at the FAQs on http://dba.openoffice.org as I thinkthat this is
> usually something to do with no primary key being defined.
>
> CPH
 Hi, 
       Thanks for that, i works great now, can't believe I missed that one.
BTW, if I grant all privileges on a database to a user it won't work, i must 
grant all privileges on the table within the database to a user to get it to 
work. I'm not sure at the moment if this is correct or not & it's not causing 
any problems in the setup.
Thanks again

Pat

******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTE may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************



More information about the ILUG mailing list