[GRASS-dev] Access of remote Mysql database ?

Markus Neteler neteler at itc.it
Wed May 2 09:30:19 EDT 2007


On Wed, May 02, 2007 at 01:22:04PM +0200, peter.loewe at gmx.de wrote:
> Dear Markus, Dear Stephan,
> thank you for your input.
> Here is the correct sequence needed to hook up a remote mysql database, optional commands as comments with a hash 
> 
> db.connect driver=mysql database="host=dbserver.foo.org,dbname=my_database"
> 
> db.login user=joshua pass=swordfish
> 
> # db.tables -p 
> # db.connect -p 
> 
> v.db.connect -o map=my_map table=my_mysql_table layer=2  key=baz
> # v.db.select -c map=my_map_neu layer=1 column=cat 
> v.db.select -c map=my_map layer=2 column=baz
> 
> It would be great if this info would end up in the official documentation.

Done so in slightly modified form (6.2-CVS for 6.2.2 and 6.3-CVS).

ciao
Markus




More information about the grass-dev mailing list