Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for MySQL®
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Questions about MySQL
    • Connection
    • Cluster read/write issues
    • Performance issues
    • Updating a cluster
    • Monitoring and logs
    • Migration/transfer
    • Configuring MySQL
    • All questions on a single page
  1. FAQ
  2. Configuring MySQL

Configuring MySQL®

Written by
Yandex Cloud
Updated at May 15, 2024
  • How do I set a time zone?

  • How do I set the SQL mode?

  • What value should I set for innodb_buffer_pool_size?

  • How do I disable the InnoDB strict mode?

  • How do I change character sets and collation rules (CHARACTER SET, COLLATE)?

  • How do I configure other parameters?

How do I set a time zone?How do I set a time zone?

A time zone is specified in terms of a UTC offset. Moscow's, for instance, is '+03:00'. Time zone names are not supported.

For more information, see the MySQL® documentation.

How do I set the SQL mode (sql_mode)?How do I set the SQL mode (sql_mode)?

Follow the steps described in Managing databases.

What value should I set for innodb_buffer_pool_size?What value should I set for innodb_buffer_pool_size?

Recommended parameter range:

  • Minimum 25% of host RAM.
  • Maximum 75% of host RAM provided that at least 1 to 1.6 GB are free for running queries, monitoring, and system processes.

How do I disable InnoDB strict mode?How do I disable InnoDB strict mode?

By default, InnoDB strict mode is enabled. If you disable this mode using MySQL® tools, the following error will occur:

Mysql query error: (1227) Access denied; you need (at least one of) the SYSTEM_VARIABLES_ADMIN or SESSION_VARIABLES_ADMIN privilege(s) for this operation (400)

To disable strict mode, change the innodb_strict_mode parameter value via the Yandex Cloud interfaces. You should also make sure that your configuration contains no command that disables strict mode, such as $connection–>queryExecute("SET innodb_strict_mode=0");.

How do I change character sets and collation rules (CHARACTER SET, COLLATE)?How do I change character sets and collation rules (CHARACTER SET, COLLATE)?

Follow the steps described in Managing databases.

How do I configure other parameters?How do I configure other parameters?

Editable MySQL® settings are listed in the documentation. You can use one of the available interfaces (management console, CLI, API, or Terraform) to modify these. Follow the instructions in Updating a cluster.

Was the article helpful?

Previous
Migration/transfer
Next
All questions on a single page
Yandex project
© 2025 Yandex.Cloud LLC