-
-
Couldn't load subscription status.
- Fork 4.1k
Fix: bump mysql from 9.2.0 to 9.5.0 #31160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
qmonmert
wants to merge
1
commit into
jhipster:main
Choose a base branch
from
qmonmert:mysql940
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
generators/spring-data-relational/templates/src/test/resources/conf/mysql/my.cnf.ejs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # For advice on how to change settings please see | ||
| # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html | ||
| [mysqld] | ||
| user = mysql | ||
| datadir = /var/lib/mysql | ||
| port = 3306 | ||
| #socket = /tmp/mysql.sock | ||
| skip-external-locking | ||
| key_buffer_size = 16K | ||
| max_allowed_packet = 1M | ||
| table_open_cache = 4 | ||
| sort_buffer_size = 64K | ||
| read_buffer_size = 256K | ||
| read_rnd_buffer_size = 256K | ||
| net_buffer_length = 2K | ||
| skip-name-resolve | ||
|
|
||
| # Don't listen on a TCP/IP port at all. This can be a security enhancement, | ||
| # if all processes that need to connect to mysqld run on the same host. | ||
| # All interaction with mysqld must be made via Unix sockets or named pipes. | ||
| # Note that using this option without enabling named pipes on Windows | ||
| # (using the "enable-named-pipe" option) will render mysqld useless! | ||
| # | ||
| #skip-networking | ||
| #server-id = 1 | ||
|
|
||
| # Uncomment the following if you want to log updates | ||
| #log-bin=mysql-bin | ||
|
|
||
| # binary logging format - mixed recommended | ||
| #binlog_format=mixed | ||
|
|
||
| # Causes updates to non-transactional engines using statement format to be | ||
| # written directly to binary log. Before using this option make sure that | ||
| # there are no dependencies between transactional and non-transactional | ||
| # tables such as in the statement INSERT INTO t_myisam SELECT * FROM | ||
| # t_innodb; otherwise, slaves may diverge from the master. | ||
| #binlog_direct_non_transactional_updates=TRUE | ||
|
|
||
| # Uncomment the following if you are using InnoDB tables | ||
| innodb_data_file_path = ibdata1:10M:autoextend | ||
| # You can set .._buffer_pool_size up to 50 - 80 % | ||
| # of RAM but beware of setting memory usage too high | ||
| innodb_buffer_pool_size = 16M | ||
| #innodb_additional_mem_pool_size = 2M | ||
| # Set .._log_file_size to 25 % of buffer pool size | ||
| innodb_redo_log_capacity = 64M | ||
| innodb_log_buffer_size = 8M | ||
| innodb_flush_log_at_trx_commit = 1 | ||
| innodb_lock_wait_timeout = 50 | ||
|
|
||
| symbolic-links=0 | ||
| innodb_buffer_pool_size=5M | ||
| innodb_log_buffer_size=256K | ||
| max_connections=20 | ||
| key_buffer_size=8 | ||
| thread_cache_size=0 | ||
| host_cache_size=0 | ||
| innodb_ft_cache_size=1600000 | ||
| innodb_ft_total_cache_size=32000000 | ||
| #### These optimize the memory use of MySQL | ||
| #### http://www.tocker.ca/2014/03/10/configuring-mysql-to-use-minimal-memory.html | ||
|
|
||
| # per thread or per operation settings | ||
| #thread_stack=131072 | ||
| sort_buffer_size=32K | ||
| read_buffer_size=8200 | ||
| read_rnd_buffer_size=8200 | ||
| max_heap_table_size=16K | ||
| tmp_table_size=1K | ||
| bulk_insert_buffer_size=0 | ||
| join_buffer_size=128 | ||
| net_buffer_length=1K | ||
| innodb_sort_buffer_size=64K | ||
|
|
||
| #settings that relate to the binary log (if enabled) | ||
| binlog_cache_size=4K | ||
| binlog_stmt_cache_size=4K | ||
|
|
||
| performance_schema = off | ||
| character-set-server = utf8mb4 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testcontainer configuration file should be implemented in spring-data-relational generator.
This is a testcontainer configuration correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my.cnfis a MySQL config file. We need to have the same insrc/main/docker/config/mysql/my.cnfand insrc/test/resources/conf/my.cnfUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I understand, but this generator generates docker compose files only.
It’s not related to testcontainers.
JHipster Node/Dotnet will have src/test/resources files generated too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I do that, thanks @mshima
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done