vext_vsrv_register_db -- v4.0 : REGISTER DATABASE db_name [db_path]
specifies the registration name of database. Later you will use this name to do such SQL commands as
USE DATABASE db_name, db.Open(), …
specifies absolute path of a database to be registered. If path is missing then Valentina Server will search in the System Catalog for database file with name “db_name”.
NOTE: SystemCatalog of Valentina Server is specified in the its INI file. On default it is “Databases” folder located in the VServer folder.
You need execute this command to put under working server some existed Valentina database files. Usually you can put database files into “Databases” folder of Valentina Server and register it.
- FILE NOT FOUND – you can get this error if Valentina Server have not found database with the given name at specified location.
REGISTER DATABASE account_db;
REGISTER DATABASE account_db '/my_site/my_account_db.vdb';