Advertisement
Guest User

parameters

a guest
Jun 21st, 2018
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.55 KB | None | 0 0
  1. root@debian:~# mysqld --defaults-file=/data/csu/mysql/param/my.cnf --verbose --help
  2.  
  3.  
  4. mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2)
  5. 180621 17:06:10 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/mysql-files
  6. mysqld Ver 5.5.60-0+deb8u1-log for debian-linux-gnu on x86_64 ((Debian))
  7. Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
  8.  
  9. Oracle is a registered trademark of Oracle Corporation and/or its
  10. affiliates. Other names may be trademarks of their respective
  11. owners.
  12.  
  13. Starts the MySQL database server.
  14.  
  15. Usage: mysqld [OPTIONS]
  16.  
  17. Default options are read from the following files in the given order:
  18. /etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf
  19. The following groups are read: mysqld server mysqld-5.5
  20. The following options may be given as the first argument:
  21. --print-defaults Print the program argument list and exit.
  22. --no-defaults Don't read default options from any option file.
  23. --defaults-file=# Only read default options from the given file #.
  24. --defaults-extra-file=# Read this file after the global files are read.
  25.  
  26. --abort-slave-event-count=#
  27. Option used by mysql-test for debugging and testing of
  28. replication.
  29. --allow-suspicious-udfs
  30. Allows use of UDFs consisting of only one symbol xxx()
  31. without corresponding xxx_init() or xxx_deinit(). That
  32. also means that one can load any function from any
  33. library, for example exit() from libc.so
  34. -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
  35. will also set transaction isolation level 'serializable'.
  36. --auto-increment-increment[=#]
  37. Auto-increment columns are incremented by this
  38. --auto-increment-offset[=#]
  39. Offset added to Auto-increment columns. Used when
  40. auto-increment-increment != 1
  41. --autocommit Set default value for autocommit (0 or 1)
  42. (Defaults to on; use --skip-autocommit to disable.)
  43. --automatic-sp-privileges
  44. Creating and dropping stored procedures alters ACLs
  45. (Defaults to on; use --skip-automatic-sp-privileges to disable.)
  46. --back-log=# The number of outstanding connection requests MySQL can
  47. have. This comes into play when the main MySQL thread
  48. gets very many connection requests in a very short time
  49. -b, --basedir=name Path to installation directory. All paths are usually
  50. resolved relative to this
  51. --big-tables Allow big result sets by saving all temporary sets on
  52. file (Solves most 'table full' errors)
  53. --bind-address=name IP address to bind to.
  54. --binlog-cache-size=#
  55. The size of the transactional cache for updates to
  56. transactional engines for the binary log. If you often
  57. use transactions containing many statements, you can
  58. increase this to get more performance
  59. --binlog-direct-non-transactional-updates
  60. Causes updates to non-transactional engines using
  61. statement format to be written directly to binary log.
  62. Before using this option make sure that there are no
  63. dependencies between transactional and non-transactional
  64. tables such as in the statement INSERT INTO t_myisam
  65. SELECT * FROM t_innodb; otherwise, slaves may diverge
  66. from the master.
  67. --binlog-do-db=name Tells the master it should log updates for the specified
  68. database, and exclude all others not explicitly
  69. mentioned.
  70. --binlog-format=name
  71. What form of binary logging the master will use: either
  72. ROW for row-based binary logging, STATEMENT for
  73. statement-based binary logging, or MIXED. MIXED is
  74. statement-based binary logging except for those
  75. statements where only row-based is correct: those which
  76. involve user-defined functions (i.e. UDFs) or the UUID()
  77. function; for those, row-based binary logging is
  78. automatically used. If NDBCLUSTER is enabled and
  79. binlog-format is MIXED, the format switches to row-based
  80. and back implicitly per each query accessing an
  81. NDBCLUSTER table
  82. --binlog-ignore-db=name
  83. Tells the master that updates to the given database
  84. should not be logged to the binary log.
  85. --binlog-row-event-max-size=#
  86. The maximum size of a row-based binary log event in
  87. bytes. Rows will be grouped into events smaller than this
  88. size if possible. The value has to be a multiple of 256.
  89. --binlog-stmt-cache-size=#
  90. The size of the statement cache for updates to
  91. non-transactional engines for the binary log. If you
  92. often use statements updating a great number of rows, you
  93. can increase this to get more performance
  94. --bootstrap Used by mysql installation scripts.
  95. --bulk-insert-buffer-size=#
  96. Size of tree cache used in bulk insert optimisation. Note
  97. that this is a limit per thread!
  98. --character-set-client-handshake
  99. Don't ignore client side character set value sent during
  100. handshake.
  101. (Defaults to on; use --skip-character-set-client-handshake to disable.)
  102. --character-set-filesystem=name
  103. Set the filesystem character set.
  104. -C, --character-set-server=name
  105. Set the default character set.
  106. --character-sets-dir=name
  107. Directory where character sets are
  108. -r, --chroot=name Chroot mysqld daemon during startup.
  109. --collation-server=name
  110. Set the default collation.
  111. --completion-type=name
  112. The transaction completion type, one of NO_CHAIN, CHAIN,
  113. RELEASE
  114. --concurrent-insert[=name]
  115. Use concurrent insert with MyISAM. Possible values are
  116. NEVER, AUTO, ALWAYS
  117. --connect-timeout=# The number of seconds the mysqld server is waiting for a
  118. connect packet before responding with 'Bad handshake'
  119. --console Write error output on screen; don't remove the console
  120. window on windows.
  121. --core-file Write core on errors.
  122. -h, --datadir=name Path to the database root directory
  123. --date-format=name The DATE format (ignored)
  124. --datetime-format=name
  125. The DATETIME format (ignored)
  126. --default-storage-engine=name
  127. The default storage engine for new tables
  128. --default-time-zone=name
  129. Set the default time zone.
  130. --default-week-format=#
  131. The default week format used by WEEK() functions
  132. --delay-key-write[=name]
  133. Type of DELAY_KEY_WRITE
  134. --delayed-insert-limit=#
  135. After inserting delayed_insert_limit rows, the INSERT
  136. DELAYED handler will check if there are any SELECT
  137. statements pending. If so, it allows these to execute
  138. before continuing
  139. --delayed-insert-timeout=#
  140. How long a INSERT DELAYED thread should wait for INSERT
  141. statements before terminating
  142. --delayed-queue-size=#
  143. What size queue (in rows) should be allocated for
  144. handling INSERT DELAYED. If the queue becomes full, any
  145. client that does INSERT DELAYED will wait until there is
  146. room in the queue again
  147. --des-key-file=name Load keys for des_encrypt() and des_encrypt from given
  148. file.
  149. --disconnect-slave-event-count=#
  150. Option used by mysql-test for debugging and testing of
  151. replication.
  152. --div-precision-increment=#
  153. Precision of the result of '/' operator will be increased
  154. on that value
  155. --engine-condition-pushdown
  156. Push supported query conditions to the storage engine.
  157. Deprecated, use --optimizer-switch instead.
  158. (Defaults to on; use --skip-engine-condition-pushdown to disable.)
  159. --event-scheduler[=name]
  160. Enable the event scheduler. Possible values are ON, OFF,
  161. and DISABLED (keep the event scheduler completely
  162. deactivated, it cannot be activated run-time)
  163. -T, --exit-info[=#] Used for debugging. Use at your own risk.
  164. --expire-logs-days=#
  165. If non-zero, binary logs will be purged after
  166. expire_logs_days days; possible purges happen at startup
  167. and at binary log rotation
  168. --external-locking Use system (external) locking (disabled by default).
  169. With this option enabled you can run myisamchk to test
  170. (not repair) tables while the MySQL server is running.
  171. Disable with --skip-external-locking.
  172. --flush Flush MyISAM tables to disk between SQL commands
  173. --flush-time=# A dedicated thread is created to flush all tables at the
  174. given interval
  175. --ft-boolean-syntax=name
  176. List of operators for MATCH ... AGAINST ( ... IN BOOLEAN
  177. MODE)
  178. --ft-max-word-len=# The maximum length of the word to be included in a
  179. FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
  180. after changing this variable
  181. --ft-min-word-len=# The minimum length of the word to be included in a
  182. FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
  183. after changing this variable
  184. --ft-query-expansion-limit=#
  185. Number of best matches to use for query expansion
  186. --ft-stopword-file=name
  187. Use stopwords from this file instead of built-in list
  188. --gdb Set up signals usable for debugging.
  189. --general-log Log connections and queries to a table or log file.
  190. Defaults logging to a file hostname.log or a table
  191. mysql.general_logif --log-output=TABLE is used
  192. --general-log-file=name
  193. Log connections and queries to given file
  194. --group-concat-max-len=#
  195. The maximum length of the result of function
  196. GROUP_CONCAT()
  197. -?, --help Display this help and exit.
  198. --ignore-builtin-innodb
  199. DEPRECATED. This option will be removed in future
  200. releases. Disable initialization of builtin InnoDB plugin
  201. --init-connect=name Command(s) that are executed for each new connection
  202. --init-file=name Read SQL commands from this file at startup
  203. --init-rpl-role=name
  204. Set the replication role.
  205. --init-slave=name Command(s) that are executed by a slave server each time
  206. the SQL thread starts
  207. --interactive-timeout=#
  208. The number of seconds the server waits for activity on an
  209. interactive connection before closing it
  210. --join-buffer-size=#
  211. The size of the buffer that is used for full joins
  212. --keep-files-on-create
  213. Don't overwrite stale .MYD and .MYI even if no directory
  214. is specified
  215. --key-buffer-size=# The size of the buffer used for index blocks for MyISAM
  216. tables. Increase this to get better index handling (for
  217. all reads and multiple writes) to as much as you can
  218. afford
  219. --key-cache-age-threshold=#
  220. This characterizes the number of hits a hot block has to
  221. be untouched until it is considered aged enough to be
  222. downgraded to a warm block. This specifies the percentage
  223. ratio of that number of hits to the total number of
  224. blocks in key cache
  225. --key-cache-block-size=#
  226. The default size of key cache blocks
  227. --key-cache-division-limit=#
  228. The minimum percentage of warm blocks in key cache
  229. -L, --language=name Client error messages in given language. May be given as
  230. a full path. Deprecated. Use --lc-messages-dir instead.
  231. --large-pages Enable support for large pages
  232. --lc-messages=name Set the language used for the error messages.
  233. -L, --lc-messages-dir=name
  234. Directory where error messages are
  235. --lc-time-names=name
  236. Set the language used for the month names and the days of
  237. the week.
  238. --local-infile Enable LOAD DATA LOCAL INFILE
  239. (Defaults to on; use --skip-local-infile to disable.)
  240. --lock-wait-timeout=#
  241. Timeout in seconds to wait for a lock before returning an
  242. error.
  243. -l, --log[=name] Log connections and queries to file (deprecated option,
  244. use --general-log/--general-log-file instead).
  245. --log-bin[=name] Log update queries in binary format. Optional (but
  246. strongly recommended to avoid replication problems if
  247. server's hostname changes) argument should be the chosen
  248. location for the binary log files.
  249. --log-bin-index=name
  250. File that holds the names for last binary log files.
  251. --log-bin-trust-function-creators
  252. If set to FALSE (the default), then when --log-bin is
  253. used, creation of a stored function (or trigger) is
  254. allowed only to users having the SUPER privilege and only
  255. if this stored function (trigger) may not break binary
  256. logging. Note that if ALL connections to this server
  257. ALWAYS use row-based binary logging, the security issues
  258. do not exist and the binary logging cannot break, so you
  259. can safely set this to TRUE
  260. --log-error[=name] Error log file
  261. --log-isam[=name] Log all MyISAM changes to file.
  262. --log-output=name Syntax: log-output=value[,value...], where "value" could
  263. be TABLE, FILE or NONE
  264. --log-queries-not-using-indexes
  265. Log queries that are executed without benefit of any
  266. index to the slow log if it is open
  267. --log-short-format Don't log extra information to update and slow-query
  268. logs.
  269. --log-slave-updates Tells the slave to log the updates from the slave thread
  270. to the binary log. You will need to turn it on if you
  271. plan to daisy-chain the slaves
  272. --log-slow-admin-statements
  273. Log slow OPTIMIZE, ANALYZE, ALTER and other
  274. administrative statements to the slow log if it is open.
  275. --log-slow-queries[=name]
  276. Log slow queries to a table or log file. Defaults logging
  277. to table mysql.slow_log or hostname-slow.log if
  278. --log-output=file is used. Must be enabled to activate
  279. other slow log options. Deprecated option, use
  280. --slow-query-log/--slow-query-log-file instead.
  281. --log-slow-slave-statements
  282. Log slow statements executed by slave thread to the slow
  283. log if it is open.
  284. --log-tc=name Path to transaction coordinator log (used for
  285. transactions that affect more than one storage engine,
  286. when binary log is disabled).
  287. --log-tc-size=# Size of transaction coordinator log.
  288. -W, --log-warnings[=#]
  289. Log some not critical warnings to the log file
  290. --long-query-time=# Log all queries that have taken more than long_query_time
  291. seconds to execute to file. The argument will be treated
  292. as a decimal value with microsecond precision
  293. --low-priority-updates
  294. INSERT/DELETE/UPDATE has lower priority than selects
  295. --lower-case-table-names[=#]
  296. If set to 1 table names are stored in lowercase on disk
  297. and table names will be case-insensitive. Should be set
  298. to 2 if you are using a case insensitive file system
  299. --master-info-file=name
  300. The location and name of the file that remembers the
  301. master and where the I/O replication thread is in the
  302. master's binlogs.
  303. --master-retry-count=#
  304. The number of tries the slave will make to connect to the
  305. master before giving up.
  306. --max-allowed-packet=#
  307. Max packet length to send to or receive from the server
  308. --max-binlog-cache-size=#
  309. Sets the total size of the transactional cache
  310. --max-binlog-dump-events=#
  311. Option used by mysql-test for debugging and testing of
  312. replication.
  313. --max-binlog-size=# Binary log will be rotated automatically when the size
  314. exceeds this value. Will also apply to relay logs if
  315. max_relay_log_size is 0
  316. --max-binlog-stmt-cache-size=#
  317. Sets the total size of the statement cache
  318. --max-connect-errors=#
  319. If there is more than this number of interrupted
  320. connections from a host this host will be blocked from
  321. further connections
  322. --max-connections=# The number of simultaneous clients allowed
  323. --max-delayed-threads=#
  324. Don't start more than this number of threads to handle
  325. INSERT DELAYED statements. If set to zero INSERT DELAYED
  326. will be not used
  327. --max-error-count=# Max number of errors/warnings to store for a statement
  328. --max-heap-table-size=#
  329. Don't allow creation of heap tables bigger than this
  330. --max-join-size=# Joins that are probably going to read more than
  331. max_join_size records return an error
  332. --max-length-for-sort-data=#
  333. Max number of bytes in sorted records
  334. --max-long-data-size=#
  335. The maximum BLOB length to send to server from
  336. mysql_send_long_data API. Deprecated option; use
  337. max_allowed_packet instead.
  338. --max-prepared-stmt-count=#
  339. Maximum number of prepared statements in the server
  340. --max-relay-log-size=#
  341. If non-zero: relay log will be rotated automatically when
  342. the size exceeds this value; if zero: when the size
  343. exceeds max_binlog_size
  344. --max-seeks-for-key=#
  345. Limit assumed max number of seeks when looking up rows
  346. based on a key
  347. --max-sort-length=# The number of bytes to use when sorting BLOB or TEXT
  348. values (only the first max_sort_length bytes of each
  349. value are used; the rest are ignored)
  350. --max-sp-recursion-depth[=#]
  351. Maximum stored procedure recursion depth
  352. --max-tmp-tables=# Maximum number of temporary tables a client can keep open
  353. at a time
  354. --max-user-connections=#
  355. The maximum number of active connections for a single
  356. user (0 = no limit)
  357. --max-write-lock-count=#
  358. After this many write locks, allow some read locks to run
  359. in between
  360. --memlock Lock mysqld in memory.
  361. --metadata-locks-cache-size=#
  362. Size of unused metadata locks cache
  363. --min-examined-row-limit=#
  364. Don't write queries to slow log that examine fewer rows
  365. than that
  366. --multi-range-count=#
  367. Number of key ranges to request at once
  368. --net-buffer-length=#
  369. Buffer length for TCP/IP and socket communication
  370. --net-read-timeout=#
  371. Number of seconds to wait for more data from a connection
  372. before aborting the read
  373. --net-retry-count=# If a read on a communication port is interrupted, retry
  374. this many times before giving up
  375. --net-write-timeout=#
  376. Number of seconds to wait for a block to be written to a
  377. connection before aborting the write
  378. -n, --new Use very new possible "unsafe" functions
  379. --old Use compatible behavior
  380. --old-alter-table Use old, non-optimized alter table
  381. --old-passwords Use old password encryption method (needed for 4.0 and
  382. older clients)
  383. --old-style-user-limits
  384. Enable old-style user limits (before 5.0.3, user
  385. resources were counted per each user+host vs. per
  386. account).
  387. --one-thread (Deprecated): Only use one thread (for debugging under
  388. Linux). Use thread-handling=no-threads instead.
  389. --open-files-limit=#
  390. If this is not 0, then mysqld will use this value to
  391. reserve file descriptors to use with setrlimit(). If this
  392. value is 0 then mysqld will reserve max_connections*5 or
  393. max_connections + table_cache*2 (whichever is larger)
  394. number of file descriptors
  395. --optimizer-prune-level=#
  396. Controls the heuristic(s) applied during query
  397. optimization to prune less-promising partial plans from
  398. the optimizer search space. Meaning: 0 - do not apply any
  399. heuristic, thus perform exhaustive search; 1 - prune
  400. plans based on number of retrieved rows
  401. --optimizer-search-depth=#
  402. Maximum depth of search performed by the query optimizer.
  403. Values larger than the number of relations in a query
  404. result in better query plans, but take longer to compile
  405. a query. Values smaller than the number of tables in a
  406. relation result in faster optimization, but may produce
  407. very bad query plans. If set to 0, the system will
  408. automatically pick a reasonable value; if set to 63, the
  409. optimizer will switch to the original find_best search.
  410. NOTE: The value 63 and its associated behaviour is
  411. deprecated
  412. --optimizer-switch=name
  413. optimizer_switch=option=val[,option=val...], where option
  414. is one of {index_merge, index_merge_union,
  415. index_merge_sort_union, index_merge_intersection,
  416. engine_condition_pushdown} and val is one of {on, off,
  417. default}
  418. --performance-schema
  419. Enable the performance schema.
  420. --performance-schema-events-waits-history-long-size=#
  421. Number of rows in EVENTS_WAITS_HISTORY_LONG.
  422. --performance-schema-events-waits-history-size=#
  423. Number of rows per thread in EVENTS_WAITS_HISTORY.
  424. --performance-schema-max-cond-classes=#
  425. Maximum number of condition instruments.
  426. --performance-schema-max-cond-instances=#
  427. Maximum number of instrumented condition objects.
  428. --performance-schema-max-file-classes=#
  429. Maximum number of file instruments.
  430. --performance-schema-max-file-handles=#
  431. Maximum number of opened instrumented files.
  432. --performance-schema-max-file-instances=#
  433. Maximum number of instrumented files.
  434. --performance-schema-max-mutex-classes=#
  435. Maximum number of mutex instruments.
  436. --performance-schema-max-mutex-instances=#
  437. Maximum number of instrumented MUTEX objects.
  438. --performance-schema-max-rwlock-classes=#
  439. Maximum number of rwlock instruments.
  440. --performance-schema-max-rwlock-instances=#
  441. Maximum number of instrumented RWLOCK objects.
  442. --performance-schema-max-table-handles=#
  443. Maximum number of opened instrumented tables.
  444. --performance-schema-max-table-instances=#
  445. Maximum number of instrumented tables.
  446. --performance-schema-max-thread-classes=#
  447. Maximum number of thread instruments.
  448. --performance-schema-max-thread-instances=#
  449. Maximum number of instrumented threads.
  450. --pid-file=name Pid file used by safe_mysqld
  451. --plugin-dir=name Directory for plugins
  452. --plugin-load=name Optional semicolon-separated list of plugins to load,
  453. where each plugin is identified as name=library, where
  454. name is the plugin name and library is the plugin library
  455. in plugin_dir.
  456. -P, --port=# Port number to use for connection or 0 to default to,
  457. my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default
  458. (3306), whatever comes first
  459. --port-open-timeout=#
  460. Maximum time in seconds to wait for the port to become
  461. free. (Default: No wait).
  462. --preload-buffer-size=#
  463. The size of the buffer that is allocated when preloading
  464. indexes
  465. --profiling-history-size=#
  466. Limit of query profiling memory
  467. --query-alloc-block-size=#
  468. Allocation block size for query parsing and execution
  469. --query-cache-limit=#
  470. Don't cache results that are bigger than this
  471. --query-cache-min-res-unit=#
  472. The minimum size for blocks allocated by the query cache
  473. --query-cache-size=#
  474. The memory allocated to store results from old queries
  475. --query-cache-type=name
  476. OFF = Don't cache or retrieve results. ON = Cache all
  477. results except SELECT SQL_NO_CACHE ... queries. DEMAND =
  478. Cache only SELECT SQL_CACHE ... queries
  479. --query-cache-wlock-invalidate
  480. Invalidate queries in query cache on LOCK for write
  481. --query-prealloc-size=#
  482. Persistent buffer for query parsing and execution
  483. --range-alloc-block-size=#
  484. Allocation block size for storing ranges during
  485. optimization
  486. --read-buffer-size=#
  487. Each thread that does a sequential scan allocates a
  488. buffer of this size for each table it scans. If you do
  489. many sequential scans, you may want to increase this
  490. value
  491. --read-only Make all non-temporary tables read-only, with the
  492. exception for replication (slave) threads and users with
  493. the SUPER privilege
  494. --read-rnd-buffer-size=#
  495. When reading rows in sorted order after a sort, the rows
  496. are read through this buffer to avoid a disk seeks
  497. --relay-log=name The location and name to use for relay logs
  498. --relay-log-index=name
  499. The location and name to use for the file that keeps a
  500. list of the last relay logs
  501. --relay-log-info-file=name
  502. The location and name of the file that remembers where
  503. the SQL replication thread is in the relay logs
  504. --relay-log-purge if disabled - do not purge relay logs. if enabled - purge
  505. them as soon as they are no more needed
  506. (Defaults to on; use --skip-relay-log-purge to disable.)
  507. --relay-log-recovery
  508. Enables automatic relay log recovery right after the
  509. database startup, which means that the IO Thread starts
  510. re-fetching from the master right after the last
  511. transaction processed
  512. --relay-log-space-limit=#
  513. Maximum space to use for all relay logs
  514. --replicate-do-db=name
  515. Tells the slave thread to restrict replication to the
  516. specified database. To specify more than one database,
  517. use the directive multiple times, once for each database.
  518. Note that this will only work if you do not use
  519. cross-database queries such as UPDATE some_db.some_table
  520. SET foo='bar' while having selected a different or no
  521. database. If you need cross database updates to work,
  522. make sure you have 3.23.28 or later, and use
  523. replicate-wild-do-table=db_name.%.
  524. --replicate-do-table=name
  525. Tells the slave thread to restrict replication to the
  526. specified table. To specify more than one table, use the
  527. directive multiple times, once for each table. This will
  528. work for cross-database updates, in contrast to
  529. replicate-do-db.
  530. --replicate-ignore-db=name
  531. Tells the slave thread to not replicate to the specified
  532. database. To specify more than one database to ignore,
  533. use the directive multiple times, once for each database.
  534. This option will not work if you use cross database
  535. updates. If you need cross database updates to work, make
  536. sure you have 3.23.28 or later, and use
  537. replicate-wild-ignore-table=db_name.%.
  538. --replicate-ignore-table=name
  539. Tells the slave thread to not replicate to the specified
  540. table. To specify more than one table to ignore, use the
  541. directive multiple times, once for each table. This will
  542. work for cross-database updates, in contrast to
  543. replicate-ignore-db.
  544. --replicate-rewrite-db=name
  545. Updates to a database with a different name than the
  546. original. Example:
  547. replicate-rewrite-db=master_db_name->slave_db_name.
  548. --replicate-same-server-id
  549. In replication, if set to 1, do not skip events having
  550. our server id. Default value is 0 (to break infinite
  551. loops in circular replication). Can't be set to 1 if
  552. --log-slave-updates is used.
  553. --replicate-wild-do-table=name
  554. Tells the slave thread to restrict replication to the
  555. tables that match the specified wildcard pattern. To
  556. specify more than one table, use the directive multiple
  557. times, once for each table. This will work for
  558. cross-database updates. Example:
  559. replicate-wild-do-table=foo%.bar% will replicate only
  560. updates to tables in all databases that start with foo
  561. and whose table names start with bar.
  562. --replicate-wild-ignore-table=name
  563. Tells the slave thread to not replicate to the tables
  564. that match the given wildcard pattern. To specify more
  565. than one table to ignore, use the directive multiple
  566. times, once for each table. This will work for
  567. cross-database updates. Example:
  568. replicate-wild-ignore-table=foo%.bar% will not do updates
  569. to tables in databases that start with foo and whose
  570. table names start with bar.
  571. --report-host=name Hostname or IP of the slave to be reported to the master
  572. during slave registration. Will appear in the output of
  573. SHOW SLAVE HOSTS. Leave unset if you do not want the
  574. slave to register itself with the master. Note that it is
  575. not sufficient for the master to simply read the IP of
  576. the slave off the socket once the slave connects. Due to
  577. NAT and other routing issues, that IP may not be valid
  578. for connecting to the slave from the master or other
  579. hosts
  580. --report-password=name
  581. The account password of the slave to be reported to the
  582. master during slave registration
  583. --report-port=# Port for connecting to slave reported to the master
  584. during slave registration. Set it only if the slave is
  585. listening on a non-default port or if you have a special
  586. tunnel from the master or other clients to the slave. If
  587. not sure, leave this option unset
  588. --report-user=name The account user name of the slave to be reported to the
  589. master during slave registration
  590. --rpl-recovery-rank=#
  591. Unused, will be removed
  592. --safe-mode Skip some optimize stages (for testing). Deprecated.
  593. --safe-user-create Don't allow new user creation by the user who has no
  594. write privileges to the mysql.user table.
  595. --secure-auth Disallow authentication for accounts that have old
  596. (pre-4.1) passwords
  597. --secure-file-priv=name
  598. Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to
  599. files within specified directory
  600. --server-id=# Uniquely identifies the server instance in the community
  601. of replication partners
  602. --show-slave-auth-info
  603. Show user and password in SHOW SLAVE HOSTS on this
  604. master.
  605. --skip-grant-tables Start without grant tables. This gives all users FULL
  606. ACCESS to all tables.
  607. --skip-host-cache Don't cache host names.
  608. --skip-name-resolve Don't resolve hostnames. All hostnames are IP's or
  609. 'localhost'.
  610. --skip-networking Don't allow connection with TCP/IP
  611. --skip-new Don't use new, possibly wrong routines.
  612. --skip-show-database
  613. Don't allow 'SHOW DATABASE' commands
  614. --skip-slave-start If set, slave is not autostarted.
  615. --skip-stack-trace Don't print a stack trace on failure.
  616. --skip-thread-priority
  617. Don't give threads different priorities. This option is
  618. deprecated because it has no effect; the implied behavior
  619. is already the default.
  620. --slave-compressed-protocol
  621. Use compression on master/slave protocol
  622. --slave-exec-mode=name
  623. Modes for how replication events should be executed.
  624. Legal values are STRICT (default) and IDEMPOTENT. In
  625. IDEMPOTENT mode, replication will not stop for operations
  626. that are idempotent. In STRICT mode, replication will
  627. stop on any unexpected difference between the master and
  628. the slave
  629. --slave-load-tmpdir=name
  630. The location where the slave should put its temporary
  631. files when replicating a LOAD DATA INFILE command
  632. --slave-max-allowed-packet=#
  633. The maximum packet length to sent successfully from the
  634. master to slave.
  635. --slave-net-timeout=#
  636. Number of seconds to wait for more data from a
  637. master/slave connection before aborting the read
  638. --slave-skip-errors=name
  639. Tells the slave thread to continue replication when a
  640. query event returns an error from the provided list
  641. --slave-transaction-retries=#
  642. Number of times the slave SQL thread will retry a
  643. transaction in case it failed with a deadlock or elapsed
  644. lock wait timeout, before giving up and stopping
  645. --slave-type-conversions=name
  646. Set of slave type conversions that are enabled. Legal
  647. values are: ALL_LOSSY to enable lossy conversions and
  648. ALL_NON_LOSSY to enable non-lossy conversions. If the
  649. variable is assigned the empty set, no conversions are
  650. allowed and it is expected that the types match exactly.
  651. --slow-launch-time=#
  652. If creating the thread takes longer than this value (in
  653. seconds), the Slow_launch_threads counter will be
  654. incremented
  655. --slow-query-log Log slow queries to a table or log file. Defaults logging
  656. to a file hostname-slow.log or a table mysql.slow_log if
  657. --log-output=TABLE is used. Must be enabled to activate
  658. other slow log options
  659. --slow-query-log-file=name
  660. Log slow queries to given log file. Defaults logging to
  661. hostname-slow.log. Must be enabled to activate other slow
  662. log options
  663. --socket=name Socket file to use for connection
  664. --sort-buffer-size=#
  665. Each thread that needs to do a sort allocates a buffer of
  666. this size
  667. --sporadic-binlog-dump-fail
  668. Option used by mysql-test for debugging and testing of
  669. replication.
  670. --sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual
  671. for the complete list of valid sql modes
  672. --ssl Enable SSL for connection (automatically enabled with
  673. other flags).
  674. --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies --ssl)
  675. --ssl-capath=name CA directory (check OpenSSL docs, implies --ssl)
  676. --ssl-cert=name X509 cert in PEM format (implies --ssl)
  677. --ssl-cipher=name SSL cipher to use (implies --ssl)
  678. --ssl-key=name X509 key in PEM format (implies --ssl)
  679. --stored-program-cache=#
  680. The soft upper limit for number of cached stored routines
  681. for one connection.
  682. --super-large-pages Enable support for super large pages.
  683. -s, --symbolic-links
  684. Enable symbolic link support.
  685. (Defaults to on; use --skip-symbolic-links to disable.)
  686. --sync-binlog=# Synchronously flush binary log to disk after every #th
  687. event. Use 0 (default) to disable synchronous flushing
  688. --sync-frm Sync .frm files to disk on creation
  689. (Defaults to on; use --skip-sync-frm to disable.)
  690. --sync-master-info=#
  691. Synchronously flush master info to disk after every #th
  692. event. Use 0 (default) to disable synchronous flushing
  693. --sync-relay-log=# Synchronously flush relay log to disk after every #th
  694. event. Use 0 (default) to disable synchronous flushing
  695. --sync-relay-log-info=#
  696. Synchronously flush relay log info to disk after every
  697. #th transaction. Use 0 (default) to disable synchronous
  698. flushing
  699. --sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it
  700. safe-replicable. Since 5.0, SYSDATE() returns a `dynamic'
  701. value different for different invocations, even within
  702. the same statement.
  703. --table-cache=# Deprecated; use --table-open-cache instead.
  704. --table-definition-cache=#
  705. The number of cached table definitions
  706. --table-open-cache=#
  707. The number of cached open tables
  708. --tc-heuristic-recover=name
  709. Decision to use in heuristic recover process. Possible
  710. values are COMMIT or ROLLBACK.
  711. --temp-pool Using this option will cause most temporary files created
  712. to use a small set of names, rather than a unique name
  713. for each new file.
  714. (Defaults to on; use --skip-temp-pool to disable.)
  715. --thread-cache-size=#
  716. How many threads we should keep in a cache for reuse
  717. --thread-concurrency=#
  718. Permits the application to give the threads system a hint
  719. for the desired number of threads that should be run at
  720. the same time.This variable has no effect, and is
  721. deprecated. It will be removed in a future release.
  722. --thread-handling=name
  723. Define threads usage for handling queries, one of
  724. one-thread-per-connection, no-threads, loaded-dynamically
  725. --thread-stack=# The stack size for each thread
  726. --time-format=name The TIME format (ignored)
  727. --timed-mutexes Specify whether to time mutexes. Deprecated, has no
  728. effect.
  729. --tmp-table-size=# If an internal in-memory temporary table exceeds this
  730. size, MySQL will automatically convert it to an on-disk
  731. MyISAM table
  732. -t, --tmpdir=name Path for temporary files. Several paths may be specified,
  733. separated by a colon (:), in this case they are used in a
  734. round-robin fashion
  735. --transaction-alloc-block-size=#
  736. Allocation block size for transactions to be stored in
  737. binary log
  738. --transaction-isolation=name
  739. Default transaction isolation level.
  740. --transaction-prealloc-size=#
  741. Persistent buffer for transactions to be stored in binary
  742. log
  743. --updatable-views-with-limit=name
  744. YES = Don't issue an error message (warning only) if a
  745. VIEW without presence of a key of the underlying table is
  746. used in queries with a LIMIT clause for updating. NO =
  747. Prohibit update of a VIEW, which does not contain a key
  748. of the underlying table and the query uses a LIMIT clause
  749. (usually get from GUI tools)
  750. -u, --user=name Run mysqld daemon as user.
  751. -v, --verbose Used with --help option for detailed help.
  752. -V, --version Output version information and exit.
  753. --wait-timeout=# The number of seconds the server waits for activity on a
  754. connection before closing it
  755.  
  756. Variables (--variable-name=value)
  757. and boolean options {FALSE|TRUE} Value (after reading options)
  758. ------------------------------------------------- ------------------------
  759. abort-slave-event-count 0
  760. allow-suspicious-udfs FALSE
  761. auto-increment-increment 1
  762. auto-increment-offset 1
  763. autocommit TRUE
  764. automatic-sp-privileges TRUE
  765. back-log 50
  766. basedir /usr
  767. big-tables FALSE
  768. bind-address 127.0.0.1
  769. binlog-cache-size 32768
  770. binlog-direct-non-transactional-updates FALSE
  771. binlog-format STATEMENT
  772. binlog-row-event-max-size 1024
  773. binlog-stmt-cache-size 32768
  774. bulk-insert-buffer-size 8388608
  775. character-set-client-handshake TRUE
  776. character-set-filesystem binary
  777. character-set-server latin1
  778. character-sets-dir /usr/share/mysql/charsets/
  779. chroot /data/csu/mysql/base
  780. collation-server latin1_swedish_ci
  781. completion-type NO_CHAIN
  782. concurrent-insert AUTO
  783. connect-timeout 10
  784. console FALSE
  785. datadir /data/csu/mysql/base/
  786. date-format %Y-%m-%d
  787. datetime-format %Y-%m-%d %H:%i:%s
  788. default-storage-engine InnoDB
  789. default-time-zone (No default value)
  790. default-week-format 0
  791. delay-key-write ON
  792. delayed-insert-limit 100
  793. delayed-insert-timeout 300
  794. delayed-queue-size 1000
  795. des-key-file (No default value)
  796. disconnect-slave-event-count 0
  797. div-precision-increment 4
  798. engine-condition-pushdown TRUE
  799. event-scheduler OFF
  800. expire-logs-days 10
  801. external-locking FALSE
  802. flush FALSE
  803. flush-time 0
  804. ft-boolean-syntax + -><()~*:""&|
  805. ft-max-word-len 84
  806. ft-min-word-len 4
  807. ft-query-expansion-limit 20
  808. ft-stopword-file (No default value)
  809. gdb FALSE
  810. general-log TRUE
  811. general-log-file /data/csu/mysql/tmp/mysql.log
  812. group-concat-max-len 1024
  813. help TRUE
  814. ignore-builtin-innodb FALSE
  815. init-connect
  816. init-file (No default value)
  817. init-rpl-role MASTER
  818. init-slave
  819. interactive-timeout 28800
  820. join-buffer-size 131072
  821. keep-files-on-create FALSE
  822. key-buffer-size 16777216
  823. key-cache-age-threshold 300
  824. key-cache-block-size 1024
  825. key-cache-division-limit 100
  826. language /usr/share/mysql/english/
  827. large-pages FALSE
  828. lc-messages en_US
  829. lc-messages-dir /usr/share/mysql/english/
  830. lc-time-names en_US
  831. local-infile TRUE
  832. lock-wait-timeout 31536000
  833. log /data/csu/mysql/tmp/mysql.log
  834. log-bin /data/csu/mysql/log/mysql-bin.log
  835. log-bin-index (No default value)
  836. log-bin-trust-function-creators FALSE
  837. log-error /data/csu/mysql/log/error.log
  838. log-isam myisam.log
  839. log-output FILE
  840. log-queries-not-using-indexes TRUE
  841. log-short-format FALSE
  842. log-slave-updates FALSE
  843. log-slow-admin-statements FALSE
  844. log-slow-queries /data/csu/mysql/log/mysql-slow.log
  845. log-slow-slave-statements FALSE
  846. log-tc tc.log
  847. log-tc-size 24576
  848. log-warnings 1
  849. long-query-time 2
  850. low-priority-updates FALSE
  851. lower-case-table-names 0
  852. master-info-file master.info
  853. master-retry-count 86400
  854. max-allowed-packet 16777216
  855. max-binlog-cache-size 18446744073709547520
  856. max-binlog-dump-events 0
  857. max-binlog-size 104857600
  858. max-binlog-stmt-cache-size 18446744073709547520
  859. max-connect-errors 10
  860. max-connections 151
  861. max-delayed-threads 20
  862. max-error-count 64
  863. max-heap-table-size 16777216
  864. max-join-size 18446744073709551615
  865. max-length-for-sort-data 1024
  866. max-long-data-size 1048576
  867. max-prepared-stmt-count 16382
  868. max-relay-log-size 0
  869. max-seeks-for-key 18446744073709551615
  870. max-sort-length 1024
  871. max-sp-recursion-depth 0
  872. max-tmp-tables 32
  873. max-user-connections 0
  874. max-write-lock-count 18446744073709551615
  875. memlock FALSE
  876. metadata-locks-cache-size 1024
  877. min-examined-row-limit 0
  878. multi-range-count 256
  879. net-buffer-length 16384
  880. net-read-timeout 30
  881. net-retry-count 10
  882. net-write-timeout 60
  883. new FALSE
  884. old FALSE
  885. old-alter-table FALSE
  886. old-passwords FALSE
  887. old-style-user-limits FALSE
  888. open-files-limit 0
  889. optimizer-prune-level 1
  890. optimizer-search-depth 62
  891. optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
  892. performance-schema FALSE
  893. performance-schema-events-waits-history-long-size 10000
  894. performance-schema-events-waits-history-size 10
  895. performance-schema-max-cond-classes 80
  896. performance-schema-max-cond-instances 1000
  897. performance-schema-max-file-classes 50
  898. performance-schema-max-file-handles 32768
  899. performance-schema-max-file-instances 10000
  900. performance-schema-max-mutex-classes 200
  901. performance-schema-max-mutex-instances 1000000
  902. performance-schema-max-rwlock-classes 30
  903. performance-schema-max-rwlock-instances 1000000
  904. performance-schema-max-table-handles 100000
  905. performance-schema-max-table-instances 50000
  906. performance-schema-max-thread-classes 50
  907. performance-schema-max-thread-instances 1000
  908. pid-file /data/csu/mysql/tmp/mysqld.pid
  909. plugin-dir /usr/lib/mysql/plugin/
  910. plugin-load (No default value)
  911. port 32542
  912. port-open-timeout 0
  913. preload-buffer-size 32768
  914. profiling-history-size 15
  915. query-alloc-block-size 8192
  916. query-cache-limit 1048576
  917. query-cache-min-res-unit 4096
  918. query-cache-size 16777216
  919. query-cache-type ON
  920. query-cache-wlock-invalidate FALSE
  921. query-prealloc-size 8192
  922. range-alloc-block-size 4096
  923. read-buffer-size 131072
  924. read-only FALSE
  925. read-rnd-buffer-size 262144
  926. relay-log (No default value)
  927. relay-log-index (No default value)
  928. relay-log-info-file relay-log.info
  929. relay-log-purge TRUE
  930. relay-log-recovery FALSE
  931. relay-log-space-limit 0
  932. replicate-same-server-id FALSE
  933. report-host (No default value)
  934. report-password (No default value)
  935. report-port 0
  936. report-user (No default value)
  937. rpl-recovery-rank 0
  938. safe-user-create FALSE
  939. secure-auth FALSE
  940. secure-file-priv /var/lib/mysql-files
  941. server-id 0
  942. show-slave-auth-info FALSE
  943. skip-grant-tables FALSE
  944. skip-name-resolve FALSE
  945. skip-networking FALSE
  946. skip-show-database FALSE
  947. skip-slave-start FALSE
  948. slave-compressed-protocol FALSE
  949. slave-exec-mode STRICT
  950. slave-load-tmpdir /data/csu/mysql/tmp
  951. slave-max-allowed-packet 1073741824
  952. slave-net-timeout 3600
  953. slave-skip-errors (No default value)
  954. slave-transaction-retries 10
  955. slave-type-conversions
  956. slow-launch-time 2
  957. slow-query-log TRUE
  958. slow-query-log-file /data/csu/mysql/log/mysql-slow.log
  959. socket /data/csu/mysql/tmp/mysqld.sock
  960. sort-buffer-size 2097152
  961. sporadic-binlog-dump-fail FALSE
  962. sql-mode
  963. ssl FALSE
  964. ssl-ca (No default value)
  965. ssl-capath (No default value)
  966. ssl-cert (No default value)
  967. ssl-cipher (No default value)
  968. ssl-key (No default value)
  969. stored-program-cache 256
  970. super-large-pages FALSE
  971. symbolic-links TRUE
  972. sync-binlog 0
  973. sync-frm TRUE
  974. sync-master-info 0
  975. sync-relay-log 0
  976. sync-relay-log-info 0
  977. sysdate-is-now FALSE
  978. table-cache 400
  979. table-definition-cache 400
  980. table-open-cache 400
  981. tc-heuristic-recover COMMIT
  982. temp-pool TRUE
  983. thread-cache-size 8
  984. thread-concurrency 10
  985. thread-handling one-thread-per-connection
  986. thread-stack 196608
  987. time-format %H:%i:%s
  988. timed-mutexes FALSE
  989. tmp-table-size 16777216
  990. tmpdir /data/csu/mysql/tmp
  991. transaction-alloc-block-size 8192
  992. transaction-isolation REPEATABLE-READ
  993. transaction-prealloc-size 4096
  994. updatable-views-with-limit YES
  995. verbose TRUE
  996. wait-timeout 28800
  997.  
  998. Plugins have parameters that are not reflected in this list
  999. because execution stopped before plugins were initialized.
  1000.  
  1001. To see what values a running MySQL server is using, type
  1002. 'mysqladmin variables' instead of 'mysqld --verbose --help'.
  1003. 180621 17:06:10 [ERROR] Aborting
  1004.  
  1005. root@debian:~#
  1006. 211's password:
  1007. Permission denied, please try again.
  1008. root@192.168.42.211's password:
  1009.  
  1010. The programs included with the Debian GNU/Linux system are free software;
  1011. the exact distribution terms for each program are described in the
  1012. individual files in /usr/share/doc/*/copyright.
  1013.  
  1014. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  1015. permitted by applicable law.
  1016. Last login: Thu Jun 21 13:09:17 2018 from pierre
  1017. root@debian:~# mysqld --defaults-file=/data/csu/mysql/param/my.cnf --verbose --help
  1018. mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2)
  1019. 180621 17:06:10 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/mysql-files
  1020. mysqld Ver 5.5.60-0+deb8u1-log for debian-linux-gnu on x86_64 ((Debian))
  1021. Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
  1022.  
  1023. Oracle is a registered trademark of Oracle Corporation and/or its
  1024. affiliates. Other names may be trademarks of their respective
  1025. owners.
  1026.  
  1027. Starts the MySQL database server.
  1028.  
  1029. Usage: mysqld [OPTIONS]
  1030.  
  1031. Default options are read from the following files in the given order:
  1032. /etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf
  1033. The following groups are read: mysqld server mysqld-5.5
  1034. The following options may be given as the first argument:
  1035. --print-defaults Print the program argument list and exit.
  1036. --no-defaults Don't read default options from any option file.
  1037. --defaults-file=# Only read default options from the given file #.
  1038. --defaults-extra-file=# Read this file after the global files are read.
  1039.  
  1040. --abort-slave-event-count=#
  1041. Option used by mysql-test for debugging and testing of
  1042. replication.
  1043. --allow-suspicious-udfs
  1044. Allows use of UDFs consisting of only one symbol xxx()
  1045. without corresponding xxx_init() or xxx_deinit(). That
  1046. also means that one can load any function from any
  1047. library, for example exit() from libc.so
  1048. -a, --ansi Use ANSI SQL syntax instead of MySQL syntax. This mode
  1049. will also set transaction isolation level 'serializable'.
  1050. --auto-increment-increment[=#]
  1051. Auto-increment columns are incremented by this
  1052. --auto-increment-offset[=#]
  1053. Offset added to Auto-increment columns. Used when
  1054. auto-increment-increment != 1
  1055. --autocommit Set default value for autocommit (0 or 1)
  1056. (Defaults to on; use --skip-autocommit to disable.)
  1057. --automatic-sp-privileges
  1058. Creating and dropping stored procedures alters ACLs
  1059. (Defaults to on; use --skip-automatic-sp-privileges to disable.)
  1060. --back-log=# The number of outstanding connection requests MySQL can
  1061. have. This comes into play when the main MySQL thread
  1062. gets very many connection requests in a very short time
  1063. -b, --basedir=name Path to installation directory. All paths are usually
  1064. resolved relative to this
  1065. --big-tables Allow big result sets by saving all temporary sets on
  1066. file (Solves most 'table full' errors)
  1067. --bind-address=name IP address to bind to.
  1068. --binlog-cache-size=#
  1069. The size of the transactional cache for updates to
  1070. transactional engines for the binary log. If you often
  1071. use transactions containing many statements, you can
  1072. increase this to get more performance
  1073. --binlog-direct-non-transactional-updates
  1074. Causes updates to non-transactional engines using
  1075. statement format to be written directly to binary log.
  1076. Before using this option make sure that there are no
  1077. dependencies between transactional and non-transactional
  1078. tables such as in the statement INSERT INTO t_myisam
  1079. SELECT * FROM t_innodb; otherwise, slaves may diverge
  1080. from the master.
  1081. --binlog-do-db=name Tells the master it should log updates for the specified
  1082. database, and exclude all others not explicitly
  1083. mentioned.
  1084. --binlog-format=name
  1085. What form of binary logging the master will use: either
  1086. ROW for row-based binary logging, STATEMENT for
  1087. statement-based binary logging, or MIXED. MIXED is
  1088. statement-based binary logging except for those
  1089. statements where only row-based is correct: those which
  1090. involve user-defined functions (i.e. UDFs) or the UUID()
  1091. function; for those, row-based binary logging is
  1092. automatically used. If NDBCLUSTER is enabled and
  1093. binlog-format is MIXED, the format switches to row-based
  1094. and back implicitly per each query accessing an
  1095. NDBCLUSTER table
  1096. --binlog-ignore-db=name
  1097. Tells the master that updates to the given database
  1098. should not be logged to the binary log.
  1099. --binlog-row-event-max-size=#
  1100. The maximum size of a row-based binary log event in
  1101. bytes. Rows will be grouped into events smaller than this
  1102. size if possible. The value has to be a multiple of 256.
  1103. --binlog-stmt-cache-size=#
  1104. The size of the statement cache for updates to
  1105. non-transactional engines for the binary log. If you
  1106. often use statements updating a great number of rows, you
  1107. can increase this to get more performance
  1108. --bootstrap Used by mysql installation scripts.
  1109. --bulk-insert-buffer-size=#
  1110. Size of tree cache used in bulk insert optimisation. Note
  1111. that this is a limit per thread!
  1112. --character-set-client-handshake
  1113. Don't ignore client side character set value sent during
  1114. handshake.
  1115. (Defaults to on; use --skip-character-set-client-handshake to disable.)
  1116. --character-set-filesystem=name
  1117. Set the filesystem character set.
  1118. -C, --character-set-server=name
  1119. Set the default character set.
  1120. --character-sets-dir=name
  1121. Directory where character sets are
  1122. -r, --chroot=name Chroot mysqld daemon during startup.
  1123. --collation-server=name
  1124. Set the default collation.
  1125. --completion-type=name
  1126. The transaction completion type, one of NO_CHAIN, CHAIN,
  1127. RELEASE
  1128. --concurrent-insert[=name]
  1129. Use concurrent insert with MyISAM. Possible values are
  1130. NEVER, AUTO, ALWAYS
  1131. --connect-timeout=# The number of seconds the mysqld server is waiting for a
  1132. connect packet before responding with 'Bad handshake'
  1133. --console Write error output on screen; don't remove the console
  1134. window on windows.
  1135. --core-file Write core on errors.
  1136. -h, --datadir=name Path to the database root directory
  1137. --date-format=name The DATE format (ignored)
  1138. --datetime-format=name
  1139. The DATETIME format (ignored)
  1140. --default-storage-engine=name
  1141. The default storage engine for new tables
  1142. --default-time-zone=name
  1143. Set the default time zone.
  1144. --default-week-format=#
  1145. The default week format used by WEEK() functions
  1146. --delay-key-write[=name]
  1147. Type of DELAY_KEY_WRITE
  1148. --delayed-insert-limit=#
  1149. After inserting delayed_insert_limit rows, the INSERT
  1150. DELAYED handler will check if there are any SELECT
  1151. statements pending. If so, it allows these to execute
  1152. before continuing
  1153. --delayed-insert-timeout=#
  1154. How long a INSERT DELAYED thread should wait for INSERT
  1155. statements before terminating
  1156. --delayed-queue-size=#
  1157. What size queue (in rows) should be allocated for
  1158. handling INSERT DELAYED. If the queue becomes full, any
  1159. client that does INSERT DELAYED will wait until there is
  1160. room in the queue again
  1161. --des-key-file=name Load keys for des_encrypt() and des_encrypt from given
  1162. file.
  1163. --disconnect-slave-event-count=#
  1164. Option used by mysql-test for debugging and testing of
  1165. replication.
  1166. --div-precision-increment=#
  1167. Precision of the result of '/' operator will be increased
  1168. on that value
  1169. --engine-condition-pushdown
  1170. Push supported query conditions to the storage engine.
  1171. Deprecated, use --optimizer-switch instead.
  1172. (Defaults to on; use --skip-engine-condition-pushdown to disable.)
  1173. --event-scheduler[=name]
  1174. Enable the event scheduler. Possible values are ON, OFF,
  1175. and DISABLED (keep the event scheduler completely
  1176. deactivated, it cannot be activated run-time)
  1177. -T, --exit-info[=#] Used for debugging. Use at your own risk.
  1178. --expire-logs-days=#
  1179. If non-zero, binary logs will be purged after
  1180. expire_logs_days days; possible purges happen at startup
  1181. and at binary log rotation
  1182. --external-locking Use system (external) locking (disabled by default).
  1183. With this option enabled you can run myisamchk to test
  1184. (not repair) tables while the MySQL server is running.
  1185. Disable with --skip-external-locking.
  1186. --flush Flush MyISAM tables to disk between SQL commands
  1187. --flush-time=# A dedicated thread is created to flush all tables at the
  1188. given interval
  1189. --ft-boolean-syntax=name
  1190. List of operators for MATCH ... AGAINST ( ... IN BOOLEAN
  1191. MODE)
  1192. --ft-max-word-len=# The maximum length of the word to be included in a
  1193. FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
  1194. after changing this variable
  1195. --ft-min-word-len=# The minimum length of the word to be included in a
  1196. FULLTEXT index. Note: FULLTEXT indexes must be rebuilt
  1197. after changing this variable
  1198. --ft-query-expansion-limit=#
  1199. Number of best matches to use for query expansion
  1200. --ft-stopword-file=name
  1201. Use stopwords from this file instead of built-in list
  1202. --gdb Set up signals usable for debugging.
  1203. --general-log Log connections and queries to a table or log file.
  1204. Defaults logging to a file hostname.log or a table
  1205. mysql.general_logif --log-output=TABLE is used
  1206. --general-log-file=name
  1207. Log connections and queries to given file
  1208. --group-concat-max-len=#
  1209. The maximum length of the result of function
  1210. GROUP_CONCAT()
  1211. -?, --help Display this help and exit.
  1212. --ignore-builtin-innodb
  1213. DEPRECATED. This option will be removed in future
  1214. releases. Disable initialization of builtin InnoDB plugin
  1215. --init-connect=name Command(s) that are executed for each new connection
  1216. --init-file=name Read SQL commands from this file at startup
  1217. --init-rpl-role=name
  1218. Set the replication role.
  1219. --init-slave=name Command(s) that are executed by a slave server each time
  1220. the SQL thread starts
  1221. --interactive-timeout=#
  1222. The number of seconds the server waits for activity on an
  1223. interactive connection before closing it
  1224. --join-buffer-size=#
  1225. The size of the buffer that is used for full joins
  1226. --keep-files-on-create
  1227. Don't overwrite stale .MYD and .MYI even if no directory
  1228. is specified
  1229. --key-buffer-size=# The size of the buffer used for index blocks for MyISAM
  1230. tables. Increase this to get better index handling (for
  1231. all reads and multiple writes) to as much as you can
  1232. afford
  1233. --key-cache-age-threshold=#
  1234. This characterizes the number of hits a hot block has to
  1235. be untouched until it is considered aged enough to be
  1236. downgraded to a warm block. This specifies the percentage
  1237. ratio of that number of hits to the total number of
  1238. blocks in key cache
  1239. --key-cache-block-size=#
  1240. The default size of key cache blocks
  1241. --key-cache-division-limit=#
  1242. The minimum percentage of warm blocks in key cache
  1243. -L, --language=name Client error messages in given language. May be given as
  1244. a full path. Deprecated. Use --lc-messages-dir instead.
  1245. --large-pages Enable support for large pages
  1246. --lc-messages=name Set the language used for the error messages.
  1247. -L, --lc-messages-dir=name
  1248. Directory where error messages are
  1249. --lc-time-names=name
  1250. Set the language used for the month names and the days of
  1251. the week.
  1252. --local-infile Enable LOAD DATA LOCAL INFILE
  1253. (Defaults to on; use --skip-local-infile to disable.)
  1254. --lock-wait-timeout=#
  1255. Timeout in seconds to wait for a lock before returning an
  1256. error.
  1257. -l, --log[=name] Log connections and queries to file (deprecated option,
  1258. use --general-log/--general-log-file instead).
  1259. --log-bin[=name] Log update queries in binary format. Optional (but
  1260. strongly recommended to avoid replication problems if
  1261. server's hostname changes) argument should be the chosen
  1262. location for the binary log files.
  1263. --log-bin-index=name
  1264. File that holds the names for last binary log files.
  1265. --log-bin-trust-function-creators
  1266. If set to FALSE (the default), then when --log-bin is
  1267. used, creation of a stored function (or trigger) is
  1268. allowed only to users having the SUPER privilege and only
  1269. if this stored function (trigger) may not break binary
  1270. logging. Note that if ALL connections to this server
  1271. ALWAYS use row-based binary logging, the security issues
  1272. do not exist and the binary logging cannot break, so you
  1273. can safely set this to TRUE
  1274. --log-error[=name] Error log file
  1275. --log-isam[=name] Log all MyISAM changes to file.
  1276. --log-output=name Syntax: log-output=value[,value...], where "value" could
  1277. be TABLE, FILE or NONE
  1278. --log-queries-not-using-indexes
  1279. Log queries that are executed without benefit of any
  1280. index to the slow log if it is open
  1281. --log-short-format Don't log extra information to update and slow-query
  1282. logs.
  1283. --log-slave-updates Tells the slave to log the updates from the slave thread
  1284. to the binary log. You will need to turn it on if you
  1285. plan to daisy-chain the slaves
  1286. --log-slow-admin-statements
  1287. Log slow OPTIMIZE, ANALYZE, ALTER and other
  1288. administrative statements to the slow log if it is open.
  1289. --log-slow-queries[=name]
  1290. Log slow queries to a table or log file. Defaults logging
  1291. to table mysql.slow_log or hostname-slow.log if
  1292. --log-output=file is used. Must be enabled to activate
  1293. other slow log options. Deprecated option, use
  1294. --slow-query-log/--slow-query-log-file instead.
  1295. --log-slow-slave-statements
  1296. Log slow statements executed by slave thread to the slow
  1297. log if it is open.
  1298. --log-tc=name Path to transaction coordinator log (used for
  1299. transactions that affect more than one storage engine,
  1300. when binary log is disabled).
  1301. --log-tc-size=# Size of transaction coordinator log.
  1302. -W, --log-warnings[=#]
  1303. Log some not critical warnings to the log file
  1304. --long-query-time=# Log all queries that have taken more than long_query_time
  1305. seconds to execute to file. The argument will be treated
  1306. as a decimal value with microsecond precision
  1307. --low-priority-updates
  1308. INSERT/DELETE/UPDATE has lower priority than selects
  1309. --lower-case-table-names[=#]
  1310. If set to 1 table names are stored in lowercase on disk
  1311. and table names will be case-insensitive. Should be set
  1312. to 2 if you are using a case insensitive file system
  1313. --master-info-file=name
  1314. The location and name of the file that remembers the
  1315. master and where the I/O replication thread is in the
  1316. master's binlogs.
  1317. --master-retry-count=#
  1318. The number of tries the slave will make to connect to the
  1319. master before giving up.
  1320. --max-allowed-packet=#
  1321. Max packet length to send to or receive from the server
  1322. --max-binlog-cache-size=#
  1323. Sets the total size of the transactional cache
  1324. --max-binlog-dump-events=#
  1325. Option used by mysql-test for debugging and testing of
  1326. replication.
  1327. --max-binlog-size=# Binary log will be rotated automatically when the size
  1328. exceeds this value. Will also apply to relay logs if
  1329. max_relay_log_size is 0
  1330. --max-binlog-stmt-cache-size=#
  1331. Sets the total size of the statement cache
  1332. --max-connect-errors=#
  1333. If there is more than this number of interrupted
  1334. connections from a host this host will be blocked from
  1335. further connections
  1336. --max-connections=# The number of simultaneous clients allowed
  1337. --max-delayed-threads=#
  1338. Don't start more than this number of threads to handle
  1339. INSERT DELAYED statements. If set to zero INSERT DELAYED
  1340. will be not used
  1341. --max-error-count=# Max number of errors/warnings to store for a statement
  1342. --max-heap-table-size=#
  1343. Don't allow creation of heap tables bigger than this
  1344. --max-join-size=# Joins that are probably going to read more than
  1345. max_join_size records return an error
  1346. --max-length-for-sort-data=#
  1347. Max number of bytes in sorted records
  1348. --max-long-data-size=#
  1349. The maximum BLOB length to send to server from
  1350. mysql_send_long_data API. Deprecated option; use
  1351. max_allowed_packet instead.
  1352. --max-prepared-stmt-count=#
  1353. Maximum number of prepared statements in the server
  1354. --max-relay-log-size=#
  1355. If non-zero: relay log will be rotated automatically when
  1356. the size exceeds this value; if zero: when the size
  1357. exceeds max_binlog_size
  1358. --max-seeks-for-key=#
  1359. Limit assumed max number of seeks when looking up rows
  1360. based on a key
  1361. --max-sort-length=# The number of bytes to use when sorting BLOB or TEXT
  1362. values (only the first max_sort_length bytes of each
  1363. value are used; the rest are ignored)
  1364. --max-sp-recursion-depth[=#]
  1365. Maximum stored procedure recursion depth
  1366. --max-tmp-tables=# Maximum number of temporary tables a client can keep open
  1367. at a time
  1368. --max-user-connections=#
  1369. The maximum number of active connections for a single
  1370. user (0 = no limit)
  1371. --max-write-lock-count=#
  1372. After this many write locks, allow some read locks to run
  1373. in between
  1374. --memlock Lock mysqld in memory.
  1375. --metadata-locks-cache-size=#
  1376. Size of unused metadata locks cache
  1377. --min-examined-row-limit=#
  1378. Don't write queries to slow log that examine fewer rows
  1379. than that
  1380. --multi-range-count=#
  1381. Number of key ranges to request at once
  1382. --net-buffer-length=#
  1383. Buffer length for TCP/IP and socket communication
  1384. --net-read-timeout=#
  1385. Number of seconds to wait for more data from a connection
  1386. before aborting the read
  1387. --net-retry-count=# If a read on a communication port is interrupted, retry
  1388. this many times before giving up
  1389. --net-write-timeout=#
  1390. Number of seconds to wait for a block to be written to a
  1391. connection before aborting the write
  1392. -n, --new Use very new possible "unsafe" functions
  1393. --old Use compatible behavior
  1394. --old-alter-table Use old, non-optimized alter table
  1395. --old-passwords Use old password encryption method (needed for 4.0 and
  1396. older clients)
  1397. --old-style-user-limits
  1398. Enable old-style user limits (before 5.0.3, user
  1399. resources were counted per each user+host vs. per
  1400. account).
  1401. --one-thread (Deprecated): Only use one thread (for debugging under
  1402. Linux). Use thread-handling=no-threads instead.
  1403. --open-files-limit=#
  1404. If this is not 0, then mysqld will use this value to
  1405. reserve file descriptors to use with setrlimit(). If this
  1406. value is 0 then mysqld will reserve max_connections*5 or
  1407. max_connections + table_cache*2 (whichever is larger)
  1408. number of file descriptors
  1409. --optimizer-prune-level=#
  1410. Controls the heuristic(s) applied during query
  1411. optimization to prune less-promising partial plans from
  1412. the optimizer search space. Meaning: 0 - do not apply any
  1413. heuristic, thus perform exhaustive search; 1 - prune
  1414. plans based on number of retrieved rows
  1415. --optimizer-search-depth=#
  1416. Maximum depth of search performed by the query optimizer.
  1417. Values larger than the number of relations in a query
  1418. result in better query plans, but take longer to compile
  1419. a query. Values smaller than the number of tables in a
  1420. relation result in faster optimization, but may produce
  1421. very bad query plans. If set to 0, the system will
  1422. automatically pick a reasonable value; if set to 63, the
  1423. optimizer will switch to the original find_best search.
  1424. NOTE: The value 63 and its associated behaviour is
  1425. deprecated
  1426. --optimizer-switch=name
  1427. optimizer_switch=option=val[,option=val...], where option
  1428. is one of {index_merge, index_merge_union,
  1429. index_merge_sort_union, index_merge_intersection,
  1430. engine_condition_pushdown} and val is one of {on, off,
  1431. default}
  1432. --performance-schema
  1433. Enable the performance schema.
  1434. --performance-schema-events-waits-history-long-size=#
  1435. Number of rows in EVENTS_WAITS_HISTORY_LONG.
  1436. --performance-schema-events-waits-history-size=#
  1437. Number of rows per thread in EVENTS_WAITS_HISTORY.
  1438. --performance-schema-max-cond-classes=#
  1439. Maximum number of condition instruments.
  1440. --performance-schema-max-cond-instances=#
  1441. Maximum number of instrumented condition objects.
  1442. --performance-schema-max-file-classes=#
  1443. Maximum number of file instruments.
  1444. --performance-schema-max-file-handles=#
  1445. Maximum number of opened instrumented files.
  1446. --performance-schema-max-file-instances=#
  1447. Maximum number of instrumented files.
  1448. --performance-schema-max-mutex-classes=#
  1449. Maximum number of mutex instruments.
  1450. --performance-schema-max-mutex-instances=#
  1451. Maximum number of instrumented MUTEX objects.
  1452. --performance-schema-max-rwlock-classes=#
  1453. Maximum number of rwlock instruments.
  1454. --performance-schema-max-rwlock-instances=#
  1455. Maximum number of instrumented RWLOCK objects.
  1456. --performance-schema-max-table-handles=#
  1457. Maximum number of opened instrumented tables.
  1458. --performance-schema-max-table-instances=#
  1459. Maximum number of instrumented tables.
  1460. --performance-schema-max-thread-classes=#
  1461. Maximum number of thread instruments.
  1462. --performance-schema-max-thread-instances=#
  1463. Maximum number of instrumented threads.
  1464. --pid-file=name Pid file used by safe_mysqld
  1465. --plugin-dir=name Directory for plugins
  1466. --plugin-load=name Optional semicolon-separated list of plugins to load,
  1467. where each plugin is identified as name=library, where
  1468. name is the plugin name and library is the plugin library
  1469. in plugin_dir.
  1470. -P, --port=# Port number to use for connection or 0 to default to,
  1471. my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default
  1472. (3306), whatever comes first
  1473. --port-open-timeout=#
  1474. Maximum time in seconds to wait for the port to become
  1475. free. (Default: No wait).
  1476. --preload-buffer-size=#
  1477. The size of the buffer that is allocated when preloading
  1478. indexes
  1479. --profiling-history-size=#
  1480. Limit of query profiling memory
  1481. --query-alloc-block-size=#
  1482. Allocation block size for query parsing and execution
  1483. --query-cache-limit=#
  1484. Don't cache results that are bigger than this
  1485. --query-cache-min-res-unit=#
  1486. The minimum size for blocks allocated by the query cache
  1487. --query-cache-size=#
  1488. The memory allocated to store results from old queries
  1489. --query-cache-type=name
  1490. OFF = Don't cache or retrieve results. ON = Cache all
  1491. results except SELECT SQL_NO_CACHE ... queries. DEMAND =
  1492. Cache only SELECT SQL_CACHE ... queries
  1493. --query-cache-wlock-invalidate
  1494. Invalidate queries in query cache on LOCK for write
  1495. --query-prealloc-size=#
  1496. Persistent buffer for query parsing and execution
  1497. --range-alloc-block-size=#
  1498. Allocation block size for storing ranges during
  1499. optimization
  1500. --read-buffer-size=#
  1501. Each thread that does a sequential scan allocates a
  1502. buffer of this size for each table it scans. If you do
  1503. many sequential scans, you may want to increase this
  1504. value
  1505. --read-only Make all non-temporary tables read-only, with the
  1506. exception for replication (slave) threads and users with
  1507. the SUPER privilege
  1508. --read-rnd-buffer-size=#
  1509. When reading rows in sorted order after a sort, the rows
  1510. are read through this buffer to avoid a disk seeks
  1511. --relay-log=name The location and name to use for relay logs
  1512. --relay-log-index=name
  1513. The location and name to use for the file that keeps a
  1514. list of the last relay logs
  1515. --relay-log-info-file=name
  1516. The location and name of the file that remembers where
  1517. the SQL replication thread is in the relay logs
  1518. --relay-log-purge if disabled - do not purge relay logs. if enabled - purge
  1519. them as soon as they are no more needed
  1520. (Defaults to on; use --skip-relay-log-purge to disable.)
  1521. --relay-log-recovery
  1522. Enables automatic relay log recovery right after the
  1523. database startup, which means that the IO Thread starts
  1524. re-fetching from the master right after the last
  1525. transaction processed
  1526. --relay-log-space-limit=#
  1527. Maximum space to use for all relay logs
  1528. --replicate-do-db=name
  1529. Tells the slave thread to restrict replication to the
  1530. specified database. To specify more than one database,
  1531. use the directive multiple times, once for each database.
  1532. Note that this will only work if you do not use
  1533. cross-database queries such as UPDATE some_db.some_table
  1534. SET foo='bar' while having selected a different or no
  1535. database. If you need cross database updates to work,
  1536. make sure you have 3.23.28 or later, and use
  1537. replicate-wild-do-table=db_name.%.
  1538. --replicate-do-table=name
  1539. Tells the slave thread to restrict replication to the
  1540. specified table. To specify more than one table, use the
  1541. directive multiple times, once for each table. This will
  1542. work for cross-database updates, in contrast to
  1543. replicate-do-db.
  1544. --replicate-ignore-db=name
  1545. Tells the slave thread to not replicate to the specified
  1546. database. To specify more than one database to ignore,
  1547. use the directive multiple times, once for each database.
  1548. This option will not work if you use cross database
  1549. updates. If you need cross database updates to work, make
  1550. sure you have 3.23.28 or later, and use
  1551. replicate-wild-ignore-table=db_name.%.
  1552. --replicate-ignore-table=name
  1553. Tells the slave thread to not replicate to the specified
  1554. table. To specify more than one table to ignore, use the
  1555. directive multiple times, once for each table. This will
  1556. work for cross-database updates, in contrast to
  1557. replicate-ignore-db.
  1558. --replicate-rewrite-db=name
  1559. Updates to a database with a different name than the
  1560. original. Example:
  1561. replicate-rewrite-db=master_db_name->slave_db_name.
  1562. --replicate-same-server-id
  1563. In replication, if set to 1, do not skip events having
  1564. our server id. Default value is 0 (to break infinite
  1565. loops in circular replication). Can't be set to 1 if
  1566. --log-slave-updates is used.
  1567. --replicate-wild-do-table=name
  1568. Tells the slave thread to restrict replication to the
  1569. tables that match the specified wildcard pattern. To
  1570. specify more than one table, use the directive multiple
  1571. times, once for each table. This will work for
  1572. cross-database updates. Example:
  1573. replicate-wild-do-table=foo%.bar% will replicate only
  1574. updates to tables in all databases that start with foo
  1575. and whose table names start with bar.
  1576. --replicate-wild-ignore-table=name
  1577. Tells the slave thread to not replicate to the tables
  1578. that match the given wildcard pattern. To specify more
  1579. than one table to ignore, use the directive multiple
  1580. times, once for each table. This will work for
  1581. cross-database updates. Example:
  1582. replicate-wild-ignore-table=foo%.bar% will not do updates
  1583. to tables in databases that start with foo and whose
  1584. table names start with bar.
  1585. --report-host=name Hostname or IP of the slave to be reported to the master
  1586. during slave registration. Will appear in the output of
  1587. SHOW SLAVE HOSTS. Leave unset if you do not want the
  1588. slave to register itself with the master. Note that it is
  1589. not sufficient for the master to simply read the IP of
  1590. the slave off the socket once the slave connects. Due to
  1591. NAT and other routing issues, that IP may not be valid
  1592. for connecting to the slave from the master or other
  1593. hosts
  1594. --report-password=name
  1595. The account password of the slave to be reported to the
  1596. master during slave registration
  1597. --report-port=# Port for connecting to slave reported to the master
  1598. during slave registration. Set it only if the slave is
  1599. listening on a non-default port or if you have a special
  1600. tunnel from the master or other clients to the slave. If
  1601. not sure, leave this option unset
  1602. --report-user=name The account user name of the slave to be reported to the
  1603. master during slave registration
  1604. --rpl-recovery-rank=#
  1605. Unused, will be removed
  1606. --safe-mode Skip some optimize stages (for testing). Deprecated.
  1607. --safe-user-create Don't allow new user creation by the user who has no
  1608. write privileges to the mysql.user table.
  1609. --secure-auth Disallow authentication for accounts that have old
  1610. (pre-4.1) passwords
  1611. --secure-file-priv=name
  1612. Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to
  1613. files within specified directory
  1614. --server-id=# Uniquely identifies the server instance in the community
  1615. of replication partners
  1616. --show-slave-auth-info
  1617. Show user and password in SHOW SLAVE HOSTS on this
  1618. master.
  1619. --skip-grant-tables Start without grant tables. This gives all users FULL
  1620. ACCESS to all tables.
  1621. --skip-host-cache Don't cache host names.
  1622. --skip-name-resolve Don't resolve hostnames. All hostnames are IP's or
  1623. 'localhost'.
  1624. --skip-networking Don't allow connection with TCP/IP
  1625. --skip-new Don't use new, possibly wrong routines.
  1626. --skip-show-database
  1627. Don't allow 'SHOW DATABASE' commands
  1628. --skip-slave-start If set, slave is not autostarted.
  1629. --skip-stack-trace Don't print a stack trace on failure.
  1630. --skip-thread-priority
  1631. Don't give threads different priorities. This option is
  1632. deprecated because it has no effect; the implied behavior
  1633. is already the default.
  1634. --slave-compressed-protocol
  1635. Use compression on master/slave protocol
  1636. --slave-exec-mode=name
  1637. Modes for how replication events should be executed.
  1638. Legal values are STRICT (default) and IDEMPOTENT. In
  1639. IDEMPOTENT mode, replication will not stop for operations
  1640. that are idempotent. In STRICT mode, replication will
  1641. stop on any unexpected difference between the master and
  1642. the slave
  1643. --slave-load-tmpdir=name
  1644. The location where the slave should put its temporary
  1645. files when replicating a LOAD DATA INFILE command
  1646. --slave-max-allowed-packet=#
  1647. The maximum packet length to sent successfully from the
  1648. master to slave.
  1649. --slave-net-timeout=#
  1650. Number of seconds to wait for more data from a
  1651. master/slave connection before aborting the read
  1652. --slave-skip-errors=name
  1653. Tells the slave thread to continue replication when a
  1654. query event returns an error from the provided list
  1655. --slave-transaction-retries=#
  1656. Number of times the slave SQL thread will retry a
  1657. transaction in case it failed with a deadlock or elapsed
  1658. lock wait timeout, before giving up and stopping
  1659. --slave-type-conversions=name
  1660. Set of slave type conversions that are enabled. Legal
  1661. values are: ALL_LOSSY to enable lossy conversions and
  1662. ALL_NON_LOSSY to enable non-lossy conversions. If the
  1663. variable is assigned the empty set, no conversions are
  1664. allowed and it is expected that the types match exactly.
  1665. --slow-launch-time=#
  1666. If creating the thread takes longer than this value (in
  1667. seconds), the Slow_launch_threads counter will be
  1668. incremented
  1669. --slow-query-log Log slow queries to a table or log file. Defaults logging
  1670. to a file hostname-slow.log or a table mysql.slow_log if
  1671. --log-output=TABLE is used. Must be enabled to activate
  1672. other slow log options
  1673. --slow-query-log-file=name
  1674. Log slow queries to given log file. Defaults logging to
  1675. hostname-slow.log. Must be enabled to activate other slow
  1676. log options
  1677. --socket=name Socket file to use for connection
  1678. --sort-buffer-size=#
  1679. Each thread that needs to do a sort allocates a buffer of
  1680. this size
  1681. --sporadic-binlog-dump-fail
  1682. Option used by mysql-test for debugging and testing of
  1683. replication.
  1684. --sql-mode=name Syntax: sql-mode=mode[,mode[,mode...]]. See the manual
  1685. for the complete list of valid sql modes
  1686. --ssl Enable SSL for connection (automatically enabled with
  1687. other flags).
  1688. --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies --ssl)
  1689. --ssl-capath=name CA directory (check OpenSSL docs, implies --ssl)
  1690. --ssl-cert=name X509 cert in PEM format (implies --ssl)
  1691. --ssl-cipher=name SSL cipher to use (implies --ssl)
  1692. --ssl-key=name X509 key in PEM format (implies --ssl)
  1693. --stored-program-cache=#
  1694. The soft upper limit for number of cached stored routines
  1695. for one connection.
  1696. --super-large-pages Enable support for super large pages.
  1697. -s, --symbolic-links
  1698. Enable symbolic link support.
  1699. (Defaults to on; use --skip-symbolic-links to disable.)
  1700. --sync-binlog=# Synchronously flush binary log to disk after every #th
  1701. event. Use 0 (default) to disable synchronous flushing
  1702. --sync-frm Sync .frm files to disk on creation
  1703. (Defaults to on; use --skip-sync-frm to disable.)
  1704. --sync-master-info=#
  1705. Synchronously flush master info to disk after every #th
  1706. event. Use 0 (default) to disable synchronous flushing
  1707. --sync-relay-log=# Synchronously flush relay log to disk after every #th
  1708. event. Use 0 (default) to disable synchronous flushing
  1709. --sync-relay-log-info=#
  1710. Synchronously flush relay log info to disk after every
  1711. #th transaction. Use 0 (default) to disable synchronous
  1712. flushing
  1713. --sysdate-is-now Non-default option to alias SYSDATE() to NOW() to make it
  1714. safe-replicable. Since 5.0, SYSDATE() returns a `dynamic'
  1715. value different for different invocations, even within
  1716. the same statement.
  1717. --table-cache=# Deprecated; use --table-open-cache instead.
  1718. --table-definition-cache=#
  1719. The number of cached table definitions
  1720. --table-open-cache=#
  1721. The number of cached open tables
  1722. --tc-heuristic-recover=name
  1723. Decision to use in heuristic recover process. Possible
  1724. values are COMMIT or ROLLBACK.
  1725. --temp-pool Using this option will cause most temporary files created
  1726. to use a small set of names, rather than a unique name
  1727. for each new file.
  1728. (Defaults to on; use --skip-temp-pool to disable.)
  1729. --thread-cache-size=#
  1730. How many threads we should keep in a cache for reuse
  1731. --thread-concurrency=#
  1732. Permits the application to give the threads system a hint
  1733. for the desired number of threads that should be run at
  1734. the same time.This variable has no effect, and is
  1735. deprecated. It will be removed in a future release.
  1736. --thread-handling=name
  1737. Define threads usage for handling queries, one of
  1738. one-thread-per-connection, no-threads, loaded-dynamically
  1739. --thread-stack=# The stack size for each thread
  1740. --time-format=name The TIME format (ignored)
  1741. --timed-mutexes Specify whether to time mutexes. Deprecated, has no
  1742. effect.
  1743. --tmp-table-size=# If an internal in-memory temporary table exceeds this
  1744. size, MySQL will automatically convert it to an on-disk
  1745. MyISAM table
  1746. -t, --tmpdir=name Path for temporary files. Several paths may be specified,
  1747. separated by a colon (:), in this case they are used in a
  1748. round-robin fashion
  1749. --transaction-alloc-block-size=#
  1750. Allocation block size for transactions to be stored in
  1751. binary log
  1752. --transaction-isolation=name
  1753. Default transaction isolation level.
  1754. --transaction-prealloc-size=#
  1755. Persistent buffer for transactions to be stored in binary
  1756. log
  1757. --updatable-views-with-limit=name
  1758. YES = Don't issue an error message (warning only) if a
  1759. VIEW without presence of a key of the underlying table is
  1760. used in queries with a LIMIT clause for updating. NO =
  1761. Prohibit update of a VIEW, which does not contain a key
  1762. of the underlying table and the query uses a LIMIT clause
  1763. (usually get from GUI tools)
  1764. -u, --user=name Run mysqld daemon as user.
  1765. -v, --verbose Used with --help option for detailed help.
  1766. -V, --version Output version information and exit.
  1767. --wait-timeout=# The number of seconds the server waits for activity on a
  1768. connection before closing it
  1769.  
  1770. Variables (--variable-name=value)
  1771. and boolean options {FALSE|TRUE} Value (after reading options)
  1772. ------------------------------------------------- ------------------------
  1773. abort-slave-event-count 0
  1774. allow-suspicious-udfs FALSE
  1775. auto-increment-increment 1
  1776. auto-increment-offset 1
  1777. autocommit TRUE
  1778. automatic-sp-privileges TRUE
  1779. back-log 50
  1780. basedir /usr
  1781. big-tables FALSE
  1782. bind-address 127.0.0.1
  1783. binlog-cache-size 32768
  1784. binlog-direct-non-transactional-updates FALSE
  1785. binlog-format STATEMENT
  1786. binlog-row-event-max-size 1024
  1787. binlog-stmt-cache-size 32768
  1788. bulk-insert-buffer-size 8388608
  1789. character-set-client-handshake TRUE
  1790. character-set-filesystem binary
  1791. character-set-server latin1
  1792. character-sets-dir /usr/share/mysql/charsets/
  1793. chroot /data/csu/mysql/base
  1794. collation-server latin1_swedish_ci
  1795. completion-type NO_CHAIN
  1796. concurrent-insert AUTO
  1797. connect-timeout 10
  1798. console FALSE
  1799. datadir /data/csu/mysql/base/
  1800. date-format %Y-%m-%d
  1801. datetime-format %Y-%m-%d %H:%i:%s
  1802. default-storage-engine InnoDB
  1803. default-time-zone (No default value)
  1804. default-week-format 0
  1805. delay-key-write ON
  1806. delayed-insert-limit 100
  1807. delayed-insert-timeout 300
  1808. delayed-queue-size 1000
  1809. des-key-file (No default value)
  1810. disconnect-slave-event-count 0
  1811. div-precision-increment 4
  1812. engine-condition-pushdown TRUE
  1813. event-scheduler OFF
  1814. expire-logs-days 10
  1815. external-locking FALSE
  1816. flush FALSE
  1817. flush-time 0
  1818. ft-boolean-syntax + -><()~*:""&|
  1819. ft-max-word-len 84
  1820. ft-min-word-len 4
  1821. ft-query-expansion-limit 20
  1822. ft-stopword-file (No default value)
  1823. gdb FALSE
  1824. general-log TRUE
  1825. general-log-file /data/csu/mysql/tmp/mysql.log
  1826. group-concat-max-len 1024
  1827. help TRUE
  1828. ignore-builtin-innodb FALSE
  1829. init-connect
  1830. init-file (No default value)
  1831. init-rpl-role MASTER
  1832. init-slave
  1833. interactive-timeout 28800
  1834. join-buffer-size 131072
  1835. keep-files-on-create FALSE
  1836. key-buffer-size 16777216
  1837. key-cache-age-threshold 300
  1838. key-cache-block-size 1024
  1839. key-cache-division-limit 100
  1840. language /usr/share/mysql/english/
  1841. large-pages FALSE
  1842. lc-messages en_US
  1843. lc-messages-dir /usr/share/mysql/english/
  1844. lc-time-names en_US
  1845. local-infile TRUE
  1846. lock-wait-timeout 31536000
  1847. log /data/csu/mysql/tmp/mysql.log
  1848. log-bin /data/csu/mysql/log/mysql-bin.log
  1849. log-bin-index (No default value)
  1850. log-bin-trust-function-creators FALSE
  1851. log-error /data/csu/mysql/log/error.log
  1852. log-isam myisam.log
  1853. log-output FILE
  1854. log-queries-not-using-indexes TRUE
  1855. log-short-format FALSE
  1856. log-slave-updates FALSE
  1857. log-slow-admin-statements FALSE
  1858. log-slow-queries /data/csu/mysql/log/mysql-slow.log
  1859. log-slow-slave-statements FALSE
  1860. log-tc tc.log
  1861. log-tc-size 24576
  1862. log-warnings 1
  1863. long-query-time 2
  1864. low-priority-updates FALSE
  1865. lower-case-table-names 0
  1866. master-info-file master.info
  1867. master-retry-count 86400
  1868. max-allowed-packet 16777216
  1869. max-binlog-cache-size 18446744073709547520
  1870. max-binlog-dump-events 0
  1871. max-binlog-size 104857600
  1872. max-binlog-stmt-cache-size 18446744073709547520
  1873. max-connect-errors 10
  1874. max-connections 151
  1875. max-delayed-threads 20
  1876. max-error-count 64
  1877. max-heap-table-size 16777216
  1878. max-join-size 18446744073709551615
  1879. max-length-for-sort-data 1024
  1880. max-long-data-size 1048576
  1881. max-prepared-stmt-count 16382
  1882. max-relay-log-size 0
  1883. max-seeks-for-key 18446744073709551615
  1884. max-sort-length 1024
  1885. max-sp-recursion-depth 0
  1886. max-tmp-tables 32
  1887. max-user-connections 0
  1888. max-write-lock-count 18446744073709551615
  1889. memlock FALSE
  1890. metadata-locks-cache-size 1024
  1891. min-examined-row-limit 0
  1892. multi-range-count 256
  1893. net-buffer-length 16384
  1894. net-read-timeout 30
  1895. net-retry-count 10
  1896. net-write-timeout 60
  1897. new FALSE
  1898. old FALSE
  1899. old-alter-table FALSE
  1900. old-passwords FALSE
  1901. old-style-user-limits FALSE
  1902. open-files-limit 0
  1903. optimizer-prune-level 1
  1904. optimizer-search-depth 62
  1905. optimizer-switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on
  1906. performance-schema FALSE
  1907. performance-schema-events-waits-history-long-size 10000
  1908. performance-schema-events-waits-history-size 10
  1909. performance-schema-max-cond-classes 80
  1910. performance-schema-max-cond-instances 1000
  1911. performance-schema-max-file-classes 50
  1912. performance-schema-max-file-handles 32768
  1913. performance-schema-max-file-instances 10000
  1914. performance-schema-max-mutex-classes 200
  1915. performance-schema-max-mutex-instances 1000000
  1916. performance-schema-max-rwlock-classes 30
  1917. performance-schema-max-rwlock-instances 1000000
  1918. performance-schema-max-table-handles 100000
  1919. performance-schema-max-table-instances 50000
  1920. performance-schema-max-thread-classes 50
  1921. performance-schema-max-thread-instances 1000
  1922. pid-file /data/csu/mysql/tmp/mysqld.pid
  1923. plugin-dir /usr/lib/mysql/plugin/
  1924. plugin-load (No default value)
  1925. port 32542
  1926. port-open-timeout 0
  1927. preload-buffer-size 32768
  1928. profiling-history-size 15
  1929. query-alloc-block-size 8192
  1930. query-cache-limit 1048576
  1931. query-cache-min-res-unit 4096
  1932. query-cache-size 16777216
  1933. query-cache-type ON
  1934. query-cache-wlock-invalidate FALSE
  1935. query-prealloc-size 8192
  1936. range-alloc-block-size 4096
  1937. read-buffer-size 131072
  1938. read-only FALSE
  1939. read-rnd-buffer-size 262144
  1940. relay-log (No default value)
  1941. relay-log-index (No default value)
  1942. relay-log-info-file relay-log.info
  1943. relay-log-purge TRUE
  1944. relay-log-recovery FALSE
  1945. relay-log-space-limit 0
  1946. replicate-same-server-id FALSE
  1947. report-host (No default value)
  1948. report-password (No default value)
  1949. report-port 0
  1950. report-user (No default value)
  1951. rpl-recovery-rank 0
  1952. safe-user-create FALSE
  1953. secure-auth FALSE
  1954. secure-file-priv /var/lib/mysql-files
  1955. server-id 0
  1956. show-slave-auth-info FALSE
  1957. skip-grant-tables FALSE
  1958. skip-name-resolve FALSE
  1959. skip-networking FALSE
  1960. skip-show-database FALSE
  1961. skip-slave-start FALSE
  1962. slave-compressed-protocol FALSE
  1963. slave-exec-mode STRICT
  1964. slave-load-tmpdir /data/csu/mysql/tmp
  1965. slave-max-allowed-packet 1073741824
  1966. slave-net-timeout 3600
  1967. slave-skip-errors (No default value)
  1968. slave-transaction-retries 10
  1969. slave-type-conversions
  1970. slow-launch-time 2
  1971. slow-query-log TRUE
  1972. slow-query-log-file /data/csu/mysql/log/mysql-slow.log
  1973. socket /data/csu/mysql/tmp/mysqld.sock
  1974. sort-buffer-size 2097152
  1975. sporadic-binlog-dump-fail FALSE
  1976. sql-mode
  1977. ssl FALSE
  1978. ssl-ca (No default value)
  1979. ssl-capath (No default value)
  1980. ssl-cert (No default value)
  1981. ssl-cipher (No default value)
  1982. ssl-key (No default value)
  1983. stored-program-cache 256
  1984. super-large-pages FALSE
  1985. symbolic-links TRUE
  1986. sync-binlog 0
  1987. sync-frm TRUE
  1988. sync-master-info 0
  1989. sync-relay-log 0
  1990. sync-relay-log-info 0
  1991. sysdate-is-now FALSE
  1992. table-cache 400
  1993. table-definition-cache 400
  1994. table-open-cache 400
  1995. tc-heuristic-recover COMMIT
  1996. temp-pool TRUE
  1997. thread-cache-size 8
  1998. thread-concurrency 10
  1999. thread-handling one-thread-per-connection
  2000. thread-stack 196608
  2001. time-format %H:%i:%s
  2002. timed-mutexes FALSE
  2003. tmp-table-size 16777216
  2004. tmpdir /data/csu/mysql/tmp
  2005. transaction-alloc-block-size 8192
  2006. transaction-isolation REPEATABLE-READ
  2007. transaction-prealloc-size 4096
  2008. updatable-views-with-limit YES
  2009. verbose TRUE
  2010. wait-timeout 28800
  2011.  
  2012. Plugins have parameters that are not reflected in this list
  2013. because execution stopped before plugins were initialized.
  2014.  
  2015. To see what values a running MySQL server is using, type
  2016. 'mysqladmin variables' instead of 'mysqld --verbose --help'.
  2017. 180621 17:06:10 [ERROR] Aborting
  2018.  
  2019. root@debian:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement