As Howard mentioned, those spaces in the mysql string. I tried the one I worked on to figure this out - when I added spaces like yours, failure.

Also, by 'gdal 1.5', do you mean 1.2.5? I'm guessing the MySQL support in in your build of GDAL, since it's complaining about the options in the string, not MySQL support missing. 1.2.5 should be good enough for basic mysql table access, but there have been a few fixes since then for recognizing some field types (some number fields might show up as strings).


On Apr 12, 2006, at 7:29 AM, grabiel wrote:


Hi
  Thats excellent in a very short period of time (What time).
I am using gdal 1.5 but when i try to execute ogrinfo 'MYSQL:test, host=localhost, user=root, password=mypass, tables=asmroad1' asmroad1
  from command line it gives result like this-------->

ogrinfo 'MYSQL:test, host=localhost.localdomain, user=root, password=zxcvydas, tables=asmroad1' asmroad1 Warning 1: ' host=localhost.localdomain' in MYSQL datasource definition not recognised and ignored. Warning 1: ' user=root' in MYSQL datasource definition not recognised and ignored. Warning 1: ' password=zxcvydas' in MYSQL datasource definition not recognised and ignored. Warning 1: ' tables=asmroad1' in MYSQL datasource definition not recognised and ignored. INFO: Open of `MYSQL:test, host=localhost.localdomain, user=root, password=zxcvydas, tables=asmroad1'
using driver `MySQL' successful.


-----
William Kyngesburye <[EMAIL PROTECTED]>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe

Reply via email to