OGR connection for LINUX

joÿffffffffffe3o Antunes bluetuna_goes_skying at YAHOO.CO.UK
Mon May 23 07:32:44 PDT 2005


Yes it was wrong but that is not the answer.. I keep
getting those messages even after correcting it..

so, now after executing this:

 ogrinfo -ro -al -so
'MYSQL:database=abruzzo,tablename=zzz,user=arit,password=arit,host=localhost,port=3306'

I get this:

Warning 1: 'tablename=zzz' in MYSQL datasource
definition not recognised and ignored.
ERROR 1: MySQL connect failed for:
database=abruzzo,tablename=zzz,user=arit,password=arit,host=localhost,port=3306
Unknown database 'database=abruzzo'
FAILURE:
Unable to open datasource
`MYSQL:database=abruzzo,tablename=zzz,user=arit,password=arit,host=localhost,port=3306'
with the following drivers.
  -> ESRI Shapefile
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> MapInfo File
  -> DGN
  -> VRT
  -> AVCBin
  -> REC
  -> Memory
  -> CSV
  -> GML
  -> MySQL


any other tip?..

thank you

joao


--- Tyler Mitchell <tylermitchell at SHAW.CA> wrote:
>
'MYSQL:database=abruzzo,tablename=zzz,user=arit,password=arit,host=localhost,port:3306'
> >
> > I get this message:
> >
> > Warning 1: 'tablename=zzz' in MYSQL datasource
> > definition not recognised and ignored.
> > Warning 1: 'port:3306' in MYSQL datasource
> definition
> > not recognised and ignored.
> > ERROR 1: MySQL connect failed for:
>
> Your port setting looks wrong.  You have:
> port:3306
> it should be:
> port=3306
>
> The warning above tells you this is part of the
> problem.   Hope that helps.
>
> Tyler
>



___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com



More information about the MapServer-users mailing list