I assume you intend to use the same MariaDB server?
If so, you have two choices:
1. Rename your existing database from "weewx" to something else. WeeWX will notice the missing database and create a new one.
2. Configure weewx.conf to use a new database. For example,
[DataBindings]
[[wx_binding]]
# Point the wx_binding to the new database:
database = archive_new
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.wxmanager.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.wview.schema
[Databases]
# The old database
[[archive_mysql]]
database_name = weewx
database_type = MySQL
# Define a new database
[[archive_new]]
database_name = weewx_new
database_type = MySQL
Of course, you will also have to set the necessary permissions for the new database.
Of the two options, #2 is probably the right way to go.
-tk