-
%Daniel What version of MySQL server are you running?
I'm asking this as error:
Failure: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) default current_timestamp(6), expired timestamp null default null, sender va' at line 1
was being reported when MySQL version was too old and did not support for the extended precision of timestamp fields.
-
%kobit It is planned (#3582) for this version but has to wait for it's turn (however in the end it may be solved differently - we are still discussing with Andrzej best possible solution)
-
%kobit %wojtek I think that you two are talking about two different things here.
Wojciech is mentioning verification of supported database schema version, while Artur was asking about retrieving and verifying database software version.
Artur, yes it would be possible but I would not suggest going this way. Database version does not have a standardized format, so we would need to create a parser for each database and then compare values. However, ie. our MySQL schema works with MariaDB and adding this check will make it more difficult to run on MariaDB. Also some hosting or cloud providers are adding something to version string returned by their branded version of database, which would throw errors in this cases as unsupported.
-
Artur Hefczyc wrote:
Instead we will have something like recommended versions of supported databases.
%kobit
We already do http://docs.tigase.org/tigase-server/snapshot/Administration_Guide/html_chunk/databasemgnt.html#_recommended_database_versions
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
5735
|
Version |
tigase-server-8.0.0
|
Spent time |
0
|
Attempting to upgrade v7.1.0 to v7.2.0 to replicate instructions from Eric on upgrading.
Setup and ran fresh copy of v7.1.0 with all components active, made small number of users and short message history to populate tables.
Shut down tigase v7.1.0, copy config files, and ran v7.2.0 upgrade-config. This worked OK, ran update-schema and entered user/password. Following error appears:
Wojciech, assigning to you since I think you wrote this? Looks like it could be a formatting issue?
MA was enabled for v7.1.0.