Thanks for the reply, I’m not using MS4w because of some restrictions I have.

I did figure out that I needed to run ogrinfo like this though “.\ogrinfo”

This at least launched ogrinfo however passing my connection string 
“MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,port=myPort”
caused ogrinfo to crash…does the connection string look correct?  Is there 
somewhere an error might have been written?

Thanks for the help!!

From: Marco Afonso [mailto:[email protected]]
Sent: Monday, October 31, 2016 3:26 PM
To: Vogt, Robert (RCIS); mapserver
Subject: Re: [mapserver-users] ogrinfo not recognized

Hello,

If you are using MapSever for Windows (MS4W), first you need to run setenv.bat 
located in the ms4w directory.

This will add libraries paths to windows enviroment variable.

2016-10-31 18:50 GMT+00:00 Vogt, Robert (RCIS) 
<[email protected]<mailto:[email protected]>>:
I'm trying to test my connection string in ogrinfo.
These are the steps I'm taking...

1. Open PowerShell as administrator
2. Navigate to directory where ogrinfo.exe is located
3. Enter command "ogrinfo 
MySQL:DatabaseName,host=Server,user=myUserName,password=myPassword,port=myPort"

Then I receive an error stating "ogrinfo : The term 'ogrinfo' is not recognized 
as the name of a cmdlet"

Not sure what I am doing wrong?
_______________________________________________
mapserver-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
Regards,
Marco Afonso
http://goo.gl/ZDtQjm
[https://dl.dropboxusercontent.com/u/17607469/qr.png]
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to