[horde] Weather: No location is set

Jan Schneider jan at horde.org
Sun Jan 15 09:19:59 PST 2006


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Chris <grooveman at comcast.net>:
>
>> I poked around on the list archive, and I saw this:
>>
>>  php -q buildMetarDB.php -a -t dbtype -d dbname -u yourusername -p
>>
>>
>> I do not know if this is my answer, but even if it is, I do not have a
>> clue what values are needed for dbtype, dbname and username.
>>
>> Would dbtype=mysql, dbname=horde, yourusername=root?
>>
>> Can someone please tell me if this is what I need, and if it is what
>> values I use?
>
> Yes, that's what you need. dbtype is mysql if you're using MySQL,
> dbname is horde unless you're using a different database to hold
> Horde's tables, and the username is whatever db user Horde is using -
> you should be able to look at $conf['sql'] in Horde's configuration if
> you don't know what you configured.

Though this is only necessary for the METAR block, not for the  
weather.com block that allows you to enter a location in a text field.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the horde mailing list