A example option file for mysql in windows


/ Published in: MySQL
Save to your folder(s)

`mysql-dev.ini` can be used in a developing environment and put it in the Mysql Home dir


Copy this code and paste it in your HTML
  1. [client]
  2. host=localhost
  3. port=3306
  4. user=root
  5.  
  6. default-character-set=utf8
  7. connect_timeout=2
  8.  
  9. [mysql]
  10. max_allowed_packet=16M
  11. tee=mysql_result.log
  12.  
  13. [mysqld]
  14. basedir=.\\
  15. datadir=.\\data
  16.  
  17. explicit_defaults_for_timestamp=true
  18.  
  19. port=3306
  20. server_id=3141526
  21.  
  22. sql_mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
  23.  
  24. key_buffer_size=8M
  25. max_allowed_packet=8M
  26. max_connections=100
  27. query_cache_size=0
  28. table-open-cache=64
  29. tmp_table_size=32M
  30. thread_cache_size=8
  31.  
  32. log-error=error.log
  33.  
  34. character-set-server=utf8
  35. collation-server=utf8_general_ci
  36.  
  37.  
  38. innodb_flush_log_at_trx_commit=2
  39. innodb_log_buffer_size=1M
  40. innodb_buffer_pool_size=8M
  41. innodb_log_file_size=22M
  42. innodb_thread_concurrency=8

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.