我笔记本上开发用的 MariaDB 数据库配置 my.ini
这个文件是我笔记本上的MariaDB数据库的配置文件,基本上是安装时生成的,没做多大改动。
- # The following options will be passed to all MySQL clients
- [client]
- #password = your_password
- port = 3306
- socket = /tmp/mysql.sock
- [mysql]
- default-character-set=utf8
- # Here follows entries for some specific programs
- # The MySQL server
- [mysqld]
- default-character-set=utf8
- basedir=D:\MariaDB
- # set datadir to the location of your data directory
- datadir=D:\MariaDB\data
- port = 3306
- socket = /tmp/mysql.sock
- skip-locking
- key_buffer_size = 256M
- max_allowed_packet = 1M
- table_open_cache = 256
- sort_buffer_size = 1M
- read_buffer_size = 1M
- read_rnd_buffer_size = 4M
- myisam_sort_buffer_size = 64M
- thread_cache_size = 8
- query_cache_size= 16M
- # Try number of CPU's*2 for thread_concurrency
- thread_concurrency = 8
- # Replication Master Server (default)
- # binary logging is required for replication
- log-bin=mysql-bin
- # binary logging format - mixed recommended
- binlog_format=mixed
- server-id = 1
- [mysqldump]
- quick
- max_allowed_packet = 16M
- [mysql]
- no-auto-rehash
- # Remove the next comment character if you are not familiar with SQL
- #safe-updates
- [myisamchk]
- key_buffer_size = 128M
- sort_buffer_size = 128M
- read_buffer = 2M
- write_buffer = 2M
- [mysqlhotcopy]
- interactive-timeout
复制代码
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论