In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article focuses on "how to create MySql transactions". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to create MySql transactions.
# in this article, the installation directory of my computer's MYSQL database is "d:webservermysql"
# my database directory is "f:sun datamysql data"
# the IP address of my computer is 192.168.0.2. If it is a public network IP, it is the same.
# [mysqld] part is the environment configuration part of mysql
# [WinMySQLadmin] is the startup part of the database
The part between [code] and [/ code] for configuring environment variables and transaction databases
# the part that uses "#" in this article is the comment line body part with "#" is optional and can be opened
[mysqld]
Basedir=d:/webserver/mysql
# bind-address=192.168.0.2
Datadir=F:/Sun Date/mysql data/
# language=d:/webserver/mysql/share/your language directory
# slow query log#=
# tmpdir#=
# port=3306
[WinMySQLadmin]
Server=d:/webserver/mysql/bin/mysqld-max-nt.exe
User= user name to start the database
Password for password= to start the database
[code]
Innodb_data_file_path = ibdata1:1000M;ibdata2:1000M
Innodb_data_home_dir = d:webservermysqlibdata
Set-variable = innodb_mirrored_log_groups=1
Innodb_log_group_home_dir = d:webservermysqliblogs
Innodb_flush_log_at_trx_commit=1
Innodb_log_arch_dir = d:webservermysqliblogs
Innodb_log_archive=0
Set-variable = innodb_buffer_pool_size=80M
Set-variable = innodb_additional_mem_pool_size=10M
Set-variable = innodb_file_io_threads=4
Set-variable = innodb_lock_wait_timeout=50
Set-variable = innodb_log_files_in_group=3
Set-variable = innodb_log_file_size=30M
Set-variable = innodb_log_buffer_size=8M
# set-variable = key_buffer=16M
[/ code]
At this point, I believe you have a deeper understanding of "how to create MySql transactions". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.