I have moved to another part of the UK and changed my existing meteotemplate site info/website to reflect this change and now the url is www.dumfries-weather.com (was www.eastberks-weather.com). This is going well.
Now I would like to empty my meteotemplate database as it is full of info about a different location. What is the best way to do this?
Moved location - need to empty database
- justinhow
- Observer

- Posts: 37
- Joined: Mon Aug 21, 2017 9:30 am
- Location: Dumfries, Scotland, UK. My site is geo restricted
- Station model: Davis Vantage Pro2
- Software: Weather Display
- Contact:
Moved location - need to empty database
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here
- dmgould
- Forecaster

- Posts: 173
- Joined: Sat Aug 26, 2017 2:43 am
- Location: Divide, Colorado, USA
- Station model: Davis Pro 2 Plus Wireless
- Software: Meteobridge
- Contact:
Re: Moved location - need to empty database
I would just start over with a new database under a new database name. Change to the new database in the main setup, and you should be good to go. This is assuming your host allows multiple databases. Most do. If they don't, delete the old and start the new.
Dave G

- justinhow
- Observer

- Posts: 37
- Joined: Mon Aug 21, 2017 9:30 am
- Location: Dumfries, Scotland, UK. My site is geo restricted
- Station model: Davis Vantage Pro2
- Software: Weather Display
- Contact:
Re: Moved location - need to empty database
Thanks for that info. I did just that:
Thanks again!
- Created a new SQL database via PHPAdmin.
- Assigned the same user rights to it as the original database
- Changed settings in config.sys to point to new database name.
- Ran http://www.<mysite>.com/install/tableCreate.php
- Ran the Database Update Setup in the admin menu to reselect API
- Checked database was being written to in PHPAdmin
Thanks again!
Station: Davis Vantage Pro2, Weather Display, meteotemplate 19.0
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here
Location: Dumfries, Scotland, UK
My Weather website: https://www.dumfries-weather.com (this site is geo-restricted)
Latest VERiFIED meteotemplate users.txt file is Here