The Weblate Manual 2.12
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#setting-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 287 页 | 1.18 MB | 1 年前3The Weblate Manual 2.16
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#mysql-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 315 页 | 1.36 MB | 1 年前3The Weblate Manual 2.13
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#setting-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 290 页 | 1.18 MB | 1 年前3The Weblate Manual 2.15
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#mysql-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 306 页 | 1.19 MB | 1 年前3The Weblate Manual 2.14
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#mysql-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 300 页 | 1.19 MB | 1 年前3The Weblate Manual 2.13.1
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#setting-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 290 页 | 1.18 MB | 1 年前3The Weblate Manual 2.14.1
/etc/mysql/my.cnf on Linux): [mysqld] sql-mode=STRICT_TRANS_TABLES See also Setting sql_mode [https://docs.djangoproject.com/en/stable/ref/databases/#mysql-sql-mode] Creating database in MySQL Create 1.0 On upgrade to version 1.0 one field has been added to database, you need to invoke following SQL command to adjust it: ALTER TABLE `trans_subproject` ADD `template` VARCHAR(200); Upgrade from 1 'OPTIONS': { # Uncomment for MySQL older than 5.7: # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" }, } } BASE_DIR = os.path.dirname(os.path.abspath(__file__))0 码力 | 303 页 | 1.19 MB | 1 年前3The Weblate Manual 4.12.1
"PORT": "", } } The database migration performs ALTER ROLE [https://www.postgresql.org/docs/12/sql-alterrole.html] on database role used by Weblate. In most cases the name of the role matches username innodb_large_prefix to allow longer indices on text fields. Set the isolation level to READ COMMITTED. The SQL mode should be set to STRICT_TRANS_TABLES. MySQL 8.x, MariaDB 10.5.x or newer have reasonable default innodb_large_prefix=1 innodb_file_format=Barracuda innodb_file_per_table=1 innodb_buffer_pool_size=2G sql_mode=STRICT_TRANS_TABLES Hint In case you are getting #1071 - Specified key was too long; max key0 码力 | 808 页 | 11.07 MB | 1 年前3The Weblate Manual 4.16.2
"PORT": "", } } The database migration performs ALTER ROLE [https://www.postgresql.org/docs/12/sql-alterrole.html] on database role used by Weblate. In most cases the name of the role matches username innodb_large_prefix to allow longer indices on text fields. Set the isolation level to READ COMMITTED. The SQL mode should be set to STRICT_TRANS_TABLES. MySQL 8.x, MariaDB 10.5.x or newer have reasonable default innodb_large_prefix=1 innodb_file_format=Barracuda innodb_file_per_table=1 innodb_buffer_pool_size=2G sql_mode=STRICT_TRANS_TABLES Hint In case you are getting #1071 - Specified key was too long; max key0 码力 | 807 页 | 11.23 MB | 1 年前3The Weblate Manual 4.16
"PORT": "", } } The database migration performs ALTER ROLE [https://www.postgresql.org/docs/12/sql-alterrole.html] on database role used by Weblate. In most cases the name of the role matches username innodb_large_prefix to allow longer indices on text fields. Set the isolation level to READ COMMITTED. The SQL mode should be set to STRICT_TRANS_TABLES. MySQL 8.x, MariaDB 10.5.x or newer have reasonable default innodb_large_prefix=1 innodb_file_format=Barracuda innodb_file_per_table=1 innodb_buffer_pool_size=2G sql_mode=STRICT_TRANS_TABLES Hint In case you are getting #1071 - Specified key was too long; max key0 码力 | 807 页 | 11.23 MB | 1 年前3
共 302 条
- 1
- 2
- 3
- 4
- 5
- 6
- 31