Project

General

Profile

Why can't import SQL

liuxin liu
Added over 5 years ago

my tigase version is 5.2

mysql> source /Applications/Tigase-5.2.0/database/mysql-schema-5.sql

ERROR:

Failed to open file 'database/mysql-schema-4-schema.sql', error: 2

ERROR:

Failed to open file 'database/mysql-schema-4-sp.sql', error: 2

ERROR:

Failed to open file 'database/mysql-schema-4-props.sql', error: 2

the file is exist


Replies (2)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

paths in the main schema file are relative to the Tigase installation thus you should start $mysql client from main Tigase installation and then use

source database/mysql-schema-5.sql

Also, for the Tigase 5.2.0 you should use mysql-schema-5-1.sql

Added by liuxin liu over 5 years ago

thanks

    (1-2/2)