Skip to content

Commit

Permalink
Merge pull request #19 from Bearsampp/9.1
Browse files Browse the repository at this point in the history
Add MySQL 9.1.0 configuration, initialization script, and update bundle release to 2024.12.1
  • Loading branch information
jwaisner authored Dec 2, 2024
2 parents f8960a8 + 11567c1 commit 7349f59
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bin/mysql9.1.0/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
mysqlVersion = "9.1.0"
mysqlExe = "bin/mysqld.exe"
mysqlCliExe = "bin/mysql.exe"
mysqlAdmin = "bin/mysqladmin.exe"
mysqlConf = "my.ini"
mysqlPort = "3306"
mysqlRootUser = "root"
mysqlRootPwd = ""

bundleRelease = "@RELEASE_VERSION@"
3 changes: 3 additions & 0 deletions bin/mysql9.1.0/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@ECHO OFF

%~dp0bin\mysqld.exe --initialize-insecure
55 changes: 55 additions & 0 deletions bin/mysql9.1.0/my.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[client]
port = 3306
socket = /tmp/mysql.sock

[mysqld]
port = 3306
socket = ~BEARSAMPP_LIN_PATH~/tmp/mysql.sock
key_buffer_size = 16M
max_allowed_packet = 1M

sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
basedir=~BEARSAMPP_LIN_PATH~/bin/mysql/mysql9.1.0
log-error=~BEARSAMPP_LIN_PATH~/logs/mysql.log
datadir=~BEARSAMPP_LIN_PATH~/bin/mysql/mysql9.1.0/data

# skip-federated

server-id = 1

innodb_buffer_pool_size = 16M
# innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO
#default_authentication_plugin=mysql_native_password
character-set-server=UTF8MB4

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout
55 changes: 55 additions & 0 deletions bin/mysql9.1.0/my.ini.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[client]
port = 3306
socket = /tmp/mysql.sock

[mysqld]
port = 3306
socket = ~BEARSAMPP_LIN_PATH~/tmp/mysql.sock
key_buffer_size = 16M
max_allowed_packet = 1M

sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
basedir=~BEARSAMPP_LIN_PATH~/bin/mysql/mysql9.1.0
log-error=~BEARSAMPP_LIN_PATH~/logs/mysql.log
datadir=~BEARSAMPP_LIN_PATH~/bin/mysql/mysql9.1.0/data

# skip-federated

server-id = 1

innodb_buffer_pool_size = 16M
# innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO
#default_authentication_plugin=mysql_native_password
character-set-server=UTF8MB4

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bundle.name = mysql
bundle.release = 2024.10.31
bundle.release = 2024.12.1
bundle.type = bins
bundle.format = 7z

Expand Down
1 change: 1 addition & 0 deletions releases.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
8.4.2 = https://github.com/Bearsampp/module-mysql/releases/download/2024.7.28/bearsampp-mysql-8.4.2-2024.7.28.7z
8.4.3 = https://github.com/Bearsampp/module-mysql/releases/download/2024.10.31/bearsampp-mysql-8.4.3-2024.10.31.7z
9.0.1 = https://github.com/Bearsampp/module-mysql/releases/download/2024.7.28/bearsampp-mysql-9.0.1-2024.8.7.7z
9.1.0 = https://github.com/Bearsampp/module-mysql/releases/download/2024.12.1/bearsampp-mysql-9.1.0-2024.12.1.7z

0 comments on commit 7349f59

Please sign in to comment.