besides、but、except、except for、except that和except when

本文详细解析了英语中besides、but、except、except for、except that和except when等词语的含义和用法,通过具体例子帮助读者正确地区分与使用这些表达方式,特别强调了它们在句子中的位置和与之搭配的语法特点。
部署运行你感兴趣的模型镜像

在英语中,besidesbutexceptexcept forexcept thatexcept when都可表示“除……外”之意,但是它们的含义和用法各不相同,不能混淆。现编如下口诀,以帮助正确地区别与使用:

辨析“除外”看含义, “包括在内”besides①。

exceptbut“不包括”, “除去”后面名代词②。

but前有不定词, 后面常跟不定式③。

  except that接从句④, except for不同质⑤。

表“时间”when连词⑥, 巧别except众兄弟。

说明:

besides表示“除……外,还有”,即包括后面人或物在内,相当于as well as。例:

1I asked the teacher a lot of questions besidesas well asthemost important one,除了那个最重要的问题外,我还问了老师许多问题。

2BesidesAs well ashis work in physics he spent much timeworking for human rights and

progress.除了物理学方面的工作之外,他还花了很多时间为人权和进步而工作。

exceptbutprep)表示“除去……”,不包括后面的名词或代词所表示的人或事物,相当于only。例:

1My father goes to work every day except saturday and Sunday.我的父亲除星期六和星期日之外,每天都上班。

  (=My father doesnt go to work only on Saturday and Sunday

   2All the students in our class failed in the final exam except her andme.除我和她之外,我们班其他学生期末考试都未及格。

  (=Only she and I passed the final exam In our class.)

③当butprep)作“除……外”讲时,前面一般有allnothingno-body等不定代词,后面常跟不定式连用。例:

   1Nobody was late but you two.除了你们俩外再无人迟到。(=Only you two were late.)

2Then it has no choice but to lie down and sleep.于是,它除躺下睡觉之外,别无选择。

except that“除了,只是”,后接that引导的宾语从句。例:

1Except that she speaks too fastshe is a good English teacher.除了她说话太快,她是一位很好的英语教师。

2 We learn little about the moonexcept that there is neither airnor water on it.关于月球的情况我们不清楚,只知道上面既无空气又无水。

except for是“除了”或“只有”之意,表示它的前后是性质相反的事情,强调前项。例:

1Your English composition is excellent except for some

grammarmistakes.你的英语作文写得不错,只是有一些语法错误。

2The place is not worth visiting except for its old temples.这个地方只有几座古庙,不值得参观。

except when含义为“除了……时候”,指时间,后踉when引导的宾语从句。例:

   1The professor used to go out for a walk every afternoon except when it rained.除了雨天,那位教授习惯于每天下午都出外散步。

   2His elder brother reaches his office on time every day except when the bus is late.除了车晚点外,他的哥哥每天都按时到达办公室。


您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

这是我的simple_consumer_example.py代码:# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. from rocketmq import ClientConfiguration, Credentials, SimpleConsumer if name == ‘main’: endpoints = “127.0.0.1:8081” credentials = Credentials() # if auth enable # credentials = Credentials(“ak”, “sk”) config = ClientConfiguration(endpoints, credentials) # with namespace # config = ClientConfiguration(endpoints, credentials, “namespace”) topic = “TopicTest” # in most case, you don’t need to create too many consumers, singleton pattern is recommended # close the simple consumer when you don’t need it anymore simple_consumer = SimpleConsumer(config, “consumer-group”) try: simple_consumer.startup() try: simple_consumer.subscribe(topic) # use tag filter # simple_consumer.subscribe(topic, FilterExpression(“tag”)) while True: try: # max message num for each long polling and message invisible duration after it is received messages = simple_consumer.receive(32, 15) if messages is not None: print(f"{simple_consumer.str()} receive {len(messages)} messages.“) for msg in messages: simple_consumer.ack(msg) print(f”{simple_consumer.str()} ack message:[{msg.message_id}].“) except Exception as e: print(f"receive or ack message raise exception: {e}”) except Exception as e: print(f"{simple_consumer.str()} subscribe topic:{topic} raise exception: {e}“) simple_consumer.shutdown() except Exception as e: print(f”{simple_consumer.str()} startup raise exception: {e}") simple_consumer.shutdown() 这是我的normal_producer_example.py代码:# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. from rocketmq import ClientConfiguration, Credentials, Message, Producer if name == ‘main’: endpoints = “127.0.0.1:8081” credentials = Credentials() # if auth enable # credentials = Credentials(“ak”, “sk”) config = ClientConfiguration(endpoints, credentials) # with namespace # config = ClientConfiguration(endpoints, credentials, “namespace”) topic = “TopicTest” producer = Producer(config, (topic,)) try: producer.startup() try: msg = Message() # topic for the current message msg.topic = topic msg.body = "hello, rocketmq.".encode('utf-8') # secondary classifier of message besides topic msg.tag = "rocketmq-send-message" # key(s) of the message, another way to mark message besides message id msg.keys = "send_sync" # user property for the message msg.add_property("send", "sync") res = producer.send(msg) print(f"{producer.__str__()} send message success. {res}") producer.shutdown() print(f"{producer.__str__()} shutdown.") except Exception as e: print(f"normal producer example raise exception: {e}") producer.shutdown() except Exception as e: print(f"{producer.__str__()} startup raise exception: {e}") producer.shutdown() 现在我想用爬虫爬取https://1329279085.github.io/2/index.html里面的数据,要求像图片所示可以实时存入broker,我该怎么修改我要用的代码,将修改后的simple_consumer_example.pysimple_consumer_example.py这两个文件的完整代码写出来
最新发布
07-02
这是我的simple_consumer_example.py代码:# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from rocketmq import ClientConfiguration, Credentials, SimpleConsumer if __name__ == '__main__': endpoints = "127.0.0.1:8081" credentials = Credentials() # if auth enable # credentials = Credentials("ak", "sk") config = ClientConfiguration(endpoints, credentials) # with namespace # config = ClientConfiguration(endpoints, credentials, "namespace") topic = "TopicTest" # in most case, you don't need to create too many consumers, singleton pattern is recommended # close the simple consumer when you don't need it anymore simple_consumer = SimpleConsumer(config, "consumer-group") try: simple_consumer.startup() try: simple_consumer.subscribe(topic) # use tag filter # simple_consumer.subscribe(topic, FilterExpression("tag")) while True: try: # max message num for each long polling and message invisible duration after it is received messages = simple_consumer.receive(32, 15) if messages is not None: print(f"{simple_consumer.__str__()} receive {len(messages)} messages.") for msg in messages: simple_consumer.ack(msg) print(f"{simple_consumer.__str__()} ack message:[{msg.message_id}].") except Exception as e: print(f"receive or ack message raise exception: {e}") except Exception as e: print(f"{simple_consumer.__str__()} subscribe topic:{topic} raise exception: {e}") simple_consumer.shutdown() except Exception as e: print(f"{simple_consumer.__str__()} startup raise exception: {e}") simple_consumer.shutdown() 这是我的normal_producer_example.py代码:# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from rocketmq import ClientConfiguration, Credentials, Message, Producer if __name__ == '__main__': endpoints = "127.0.0.1:8081" credentials = Credentials() # if auth enable # credentials = Credentials("ak", "sk") config = ClientConfiguration(endpoints, credentials) # with namespace # config = ClientConfiguration(endpoints, credentials, "namespace") topic = "TopicTest" producer = Producer(config, (topic,)) try: producer.startup() try: msg = Message() # topic for the current message msg.topic = topic msg.body = "hello, rocketmq.".encode('utf-8') # secondary classifier of message besides topic msg.tag = "rocketmq-send-message" # key(s) of the message, another way to mark message besides message id msg.keys = "send_sync" # user property for the message msg.add_property("send", "sync") res = producer.send(msg) print(f"{producer.__str__()} send message success. {res}") producer.shutdown() print(f"{producer.__str__()} shutdown.") except Exception as e: print(f"normal producer example raise exception: {e}") producer.shutdown() except Exception as e: print(f"{producer.__str__()} startup raise exception: {e}") producer.shutdown() 现在我想用爬虫爬取https://1329279085.github.io/2/index.html里面的数据,要求像图片所示可以实时存入broker,我该怎么修改我要用的代码
07-02
mysql Ver 14.14 Distrib 5.7.18, for Win64 (x86_64) Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Usage: mysql [OPTIONS] [database] -?, --help Display this help and exit. -I, --help Synonym for -? --auto-rehash Enable automatic rehashing. One doesn't need to use 'rehash' to get table and field completion, but startup and reconnecting may take a longer time. Disable with --disable-auto-rehash. (Defaults to on; use --skip-auto-rehash to disable.) -A, --no-auto-rehash No automatic rehashing. One has to use 'rehash' to get table and field completion. This gives a quicker start of mysql and disables rehashing on reconnect. --auto-vertical-output Automatically switch to vertical output mode if the result is wider than the terminal width. -B, --batch Don't use history file. Disable interactive behavior. (Enables --silent.) --bind-address=name IP address to bind to. --character-sets-dir=name Directory for character set files. --column-type-info Display column type information. -c, --comments Preserve comments. Send comments to the server. The default is --skip-comments (discard comments), enable with --comments. -C, --compress Use compression in server/client protocol. -#, --debug[=#] This is a non-debug version. Catch this and exit. --debug-check This is a non-debug version. Catch this and exit. -T, --debug-info This is a non-debug version. Catch this and exit. -D, --database=name Database to use. --default-character-set=name Set the default character set. --delimiter=name Delimiter to be used. --enable-cleartext-plugin Enable/disable the clear text authentication plugin. -e, --execute=name Execute command and quit. (Disables --force and history file.) -E, --vertical Print the output of a query (rows) vertically. -f, --force Continue even if we get an SQL error. --histignore=name A colon-separated list of patterns to keep statements from getting logged into syslog and mysql history. -G, --named-commands Enable named commands. Named commands mean this program's internal commands; see mysql> help . When enabled, the named commands can be used from any line of the query, otherwise only from the first line, before an enter. Disable with --disable-named-commands. This option is disabled by default. -i, --ignore-spaces Ignore space after function names. --init-command=name SQL Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting. --local-infile Enable/disable LOAD DATA LOCAL INFILE. -b, --no-beep Turn off beep on error. -h, --host=name Connect to host. -H, --html Produce HTML output. -X, --xml Produce XML output. --line-numbers Write line numbers for errors. (Defaults to on; use --skip-line-numbers to disable.) -L, --skip-line-numbers Don't write line number for errors. -n, --unbuffered Flush buffer after each query. --column-names Write column names in results. (Defaults to on; use --skip-column-names to disable.) -N, --skip-column-names Don't write column names in results. --sigint-ignore Ignore SIGINT (CTRL-C). -o, --one-database Ignore statements except those that occur while the default database is the one named at the command line. -p, --password[=name] Password to use when connecting to server. If password is not given it's asked from the tty. -W, --pipe Use named pipes to connect to server. -P, --port=# Port number to use for connection or 0 for default to, in order of preference, my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default (3306). --prompt=name Set the mysql prompt to this value. --protocol=name The protocol to use for connection (tcp, socket, pipe, memory). -q, --quick Don't cache result, print it row by row. This may slow down the server if the output is suspended. Doesn't use history file. -r, --raw Write fields without conversion. Used with --batch. --reconnect Reconnect if the connection is lost. Disable with --disable-reconnect. This option is enabled by default. (Defaults to on; use --skip-reconnect to disable.) -s, --silent Be more silent. Print results with a tab as separator, each row on new line. --shared-memory-base-name=name Base name of shared memory. -S, --socket=name The socket file to use for connection. --ssl-mode=name SSL connection mode. --ssl Deprecated. Use --ssl-mode instead. (Defaults to on; use --skip-ssl to disable.) --ssl-verify-server-cert Deprecated. Use --ssl-mode=VERIFY_IDENTITY instead. --ssl-ca=name CA file in PEM format. --ssl-capath=name CA directory. --ssl-cert=name X509 cert in PEM format. --ssl-cipher=name SSL cipher to use. --ssl-key=name X509 key in PEM format. --ssl-crl=name Certificate revocation list. --ssl-crlpath=name Certificate revocation list path. --tls-version=name TLS version to use, permitted values are: TLSv1, TLSv1.1 -t, --table Output in table format. --tee=name Append everything into outfile. See interactive help (\h) also. Does not work in batch mode. Disable with --disable-tee. This option is disabled by default. -u, --user=name User for login if not current user. -U, --safe-updates Only allow UPDATE and DELETE that uses keys. -U, --i-am-a-dummy Synonym for option --safe-updates, -U. -v, --verbose Write more. (-v -v -v gives the table output format). -V, --version Output version information and exit. -w, --wait Wait and retry if connection is down. --connect-timeout=# Number of seconds before connection timeout. --max-allowed-packet=# The maximum packet length to send to or receive from server. --net-buffer-length=# The buffer size for TCP/IP and socket communication. --select-limit=# Automatic limit for SELECT when using --safe-updates. --max-join-size=# Automatic limit for rows in a join when using --safe-updates. --secure-auth Refuse client connecting to server if it uses old (pre-4.1.1) protocol. Deprecated. Always TRUE --server-arg=name Send embedded server this as a parameter. --show-warnings Show warnings after every statement. -j, --syslog Log filtered interactive commands to syslog. Filtering of commands depends on the patterns supplied via histignore option besides the default patterns. --plugin-dir=name Directory for client-side plugins. --default-auth=name Default authentication client-side plugin to use. --binary-mode By default, ASCII '\0' is disallowed and '\r\n' is translated to '\n'. This switch turns off both features, and also turns off parsing of all clientcommands except \C and DELIMITER, in non-interactive mode (for input piped to mysql or loaded using the 'source' command). This is necessary when processing output from mysqlbinlog that may contain blobs. --connect-expired-password Notify the server that this client is prepared to handle expired password sandbox mode. Default options are read from the following files in the given order: C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\my.ini C:\my.cnf D:\mysql\mysql-5.7.18-winx64\mysql-5.7.18-winx64\my.ini D:\mysql\mysql-5.7.18-winx64\mysql-5.7.18-winx64\my.cnf The following groups are read: mysql client The following options may be given as the first argument: --print-defaults Print the program argument list and exit. --no-defaults Don't read default options from any option file, except for login file. --defaults-file=# Only read default options from the given file #. --defaults-extra-file=# Read this file after the global files are read. --defaults-group-suffix=# Also read groups with concat(group, suffix) --login-path=# Read this path from the login file. Variables (--variable-name=value) and boolean options {FALSE|TRUE} Value (after reading options) --------------------------------- ---------------------------------------- auto-rehash TRUE auto-vertical-output FALSE bind-address (No default value) character-sets-dir (No default value) column-type-info FALSE comments FALSE compress FALSE database (No default value) default-character-set utf8 delimiter ; enable-cleartext-plugin FALSE vertical FALSE force FALSE histignore (No default value) named-commands FALSE ignore-spaces FALSE init-command (No default value) local-infile FALSE no-beep FALSE host (No default value) html FALSE xml FALSE line-numbers TRUE unbuffered FALSE column-names TRUE sigint-ignore FALSE port 3306 prompt mysql> quick FALSE raw FALSE reconnect TRUE shared-memory-base-name (No default value) socket (No default value) ssl TRUE ssl-verify-server-cert FALSE ssl-ca (No default value) ssl-capath (No default value) ssl-cert (No default value) ssl-cipher (No default value) ssl-key (No default value) ssl-crl (No default value) ssl-crlpath (No default value) tls-version (No default value) table FALSE user (No default value) safe-updates FALSE i-am-a-dummy FALSE connect-timeout 0 max-allowed-packet 16777216 net-buffer-length 16384 select-limit 1000 max-join-size 1000000 secure-auth TRUE show-warnings FALSE plugin-dir (No default value) default-auth (No default value) binary-mode FALSE connect-expired-password FALSE C:\Users\lenovo>mysql –u root –p mysql Ver 14.14 Distrib 5.7.18, for Win64 (x86_64) Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Usage: mysql [OPTIONS] [database] -?, --help Display this help and exit. -I, --help Synonym for -? --auto-rehash Enable automatic rehashing. One doesn't need to use 'rehash' to get table and field completion, but startup and reconnecting may take a longer time. Disable with --disable-auto-rehash. (Defaults to on; use --skip-auto-rehash to disable.) -A, --no-auto-rehash No automatic rehashing. One has to use 'rehash' to get table and field completion. This gives a quicker start of mysql and disables rehashing on reconnect. --auto-vertical-output Automatically switch to vertical output mode if the result is wider than the terminal width. -B, --batch Don't use history file. Disable interactive behavior. (Enables --silent.) --bind-address=name IP address to bind to. --character-sets-dir=name Directory for character set files. --column-type-info Display column type information. -c, --comments Preserve comments. Send comments to the server. The default is --skip-comments (discard comments), enable with --comments. -C, --compress Use compression in server/client protocol. -#, --debug[=#] This is a non-debug version. Catch this and exit. --debug-check This is a non-debug version. Catch this and exit. -T, --debug-info This is a non-debug version. Catch this and exit. -D, --database=name Database to use. --default-character-set=name Set the default character set. --delimiter=name Delimiter to be used. --enable-cleartext-plugin Enable/disable the clear text authentication plugin. -e, --execute=name Execute command and quit. (Disables --force and history file.) -E, --vertical Print the output of a query (rows) vertically. -f, --force Continue even if we get an SQL error. --histignore=name A colon-separated list of patterns to keep statements from getting logged into syslog and mysql history. -G, --named-commands Enable named commands. Named commands mean this program's internal commands; see mysql> help . When enabled, the named commands can be used from any line of the query, otherwise only from the first line, before an enter. Disable with --disable-named-commands. This option is disabled by default. -i, --ignore-spaces Ignore space after function names. --init-command=name SQL Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting. --local-infile Enable/disable LOAD DATA LOCAL INFILE. -b, --no-beep Turn off beep on error. -h, --host=name Connect to host. -H, --html Produce HTML output. -X, --xml Produce XML output. --line-numbers Write line numbers for errors. (Defaults to on; use --skip-line-numbers to disable.) -L, --skip-line-numbers Don't write line number for errors. -n, --unbuffered Flush buffer after each query. --column-names Write column names in results. (Defaults to on; use --skip-column-names to disable.) -N, --skip-column-names Don't write column names in results. --sigint-ignore Ignore SIGINT (CTRL-C). -o, --one-database Ignore statements except those that occur while the default database is the one named at the command line. -p, --password[=name] Password to use when connecting to server. If password is not given it's asked from the tty. -W, --pipe Use named pipes to connect to server. -P, --port=# Port number to use for connection or 0 for default to, in order of preference, my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default (3306). --prompt=name Set the mysql prompt to this value. --protocol=name The protocol to use for connection (tcp, socket, pipe, memory). -q, --quick Don't cache result, print it row by row. This may slow down the server if the output is suspended. Doesn't use history file. -r, --raw Write fields without conversion. Used with --batch. --reconnect Reconnect if the connection is lost. Disable with --disable-reconnect. This option is enabled by default. (Defaults to on; use --skip-reconnect to disable.) -s, --silent Be more silent. Print results with a tab as separator, each row on new line. --shared-memory-base-name=name Base name of shared memory. -S, --socket=name The socket file to use for connection. --ssl-mode=name SSL connection mode. --ssl Deprecated. Use --ssl-mode instead. (Defaults to on; use --skip-ssl to disable.) --ssl-verify-server-cert Deprecated. Use --ssl-mode=VERIFY_IDENTITY instead. --ssl-ca=name CA file in PEM format. --ssl-capath=name CA directory. --ssl-cert=name X509 cert in PEM format. --ssl-cipher=name SSL cipher to use. --ssl-key=name X509 key in PEM format. --ssl-crl=name Certificate revocation list. --ssl-crlpath=name Certificate revocation list path. --tls-version=name TLS version to use, permitted values are: TLSv1, TLSv1.1 -t, --table Output in table format. --tee=name Append everything into outfile. See interactive help (\h) also. Does not work in batch mode. Disable with --disable-tee. This option is disabled by default. -u, --user=name User for login if not current user. -U, --safe-updates Only allow UPDATE and DELETE that uses keys. -U, --i-am-a-dummy Synonym for option --safe-updates, -U. -v, --verbose Write more. (-v -v -v gives the table output format). -V, --version Output version information and exit. -w, --wait Wait and retry if connection is down. --connect-timeout=# Number of seconds before connection timeout. --max-allowed-packet=# The maximum packet length to send to or receive from server. --net-buffer-length=# The buffer size for TCP/IP and socket communication. --select-limit=# Automatic limit for SELECT when using --safe-updates. --max-join-size=# Automatic limit for rows in a join when using --safe-updates. --secure-auth Refuse client connecting to server if it uses old (pre-4.1.1) protocol. Deprecated. Always TRUE --server-arg=name Send embedded server this as a parameter. --show-warnings Show warnings after every statement. -j, --syslog Log filtered interactive commands to syslog. Filtering of commands depends on the patterns supplied via histignore option besides the default patterns. --plugin-dir=name Directory for client-side plugins. --default-auth=name Default authentication client-side plugin to use. --binary-mode By default, ASCII '\0' is disallowed and '\r\n' is translated to '\n'. This switch turns off both features, and also turns off parsing of all clientcommands except \C and DELIMITER, in non-interactive mode (for input piped to mysql or loaded using the 'source' command). This is necessary when processing output from mysqlbinlog that may contain blobs. --connect-expired-password Notify the server that this client is prepared to handle expired password sandbox mode. Default options are read from the following files in the given order: C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\my.ini C:\my.cnf D:\mysql\mysql-5.7.18-winx64\mysql-5.7.18-winx64\my.ini D:\mysql\mysql-5.7.18-winx64\mysql-5.7.18-winx64\my.cnf The following groups are read: mysql client The following options may be given as the first argument: --print-defaults Print the program argument list and exit. --no-defaults Don't read default options from any option file, except for login file. --defaults-file=# Only read default options from the given file #. --defaults-extra-file=# Read this file after the global files are read. --defaults-group-suffix=# Also read groups with concat(group, suffix) --login-path=# Read this path from the login file. Variables (--variable-name=value) and boolean options {FALSE|TRUE} Value (after reading options) --------------------------------- ---------------------------------------- auto-rehash TRUE auto-vertical-output FALSE bind-address (No default value) character-sets-dir (No default value) column-type-info FALSE comments FALSE compress FALSE database (No default value) default-character-set utf8 delimiter ; enable-cleartext-plugin FALSE vertical FALSE force FALSE histignore (No default value) named-commands FALSE ignore-spaces FALSE init-command (No default value) local-infile FALSE no-beep FALSE host (No default value) html FALSE xml FALSE line-numbers TRUE unbuffered FALSE column-names TRUE sigint-ignore FALSE port 3306 prompt mysql> quick FALSE raw FALSE reconnect TRUE shared-memory-base-name (No default value) socket (No default value) ssl TRUE ssl-verify-server-cert FALSE ssl-ca (No default value) ssl-capath (No default value) ssl-cert (No default value) ssl-cipher (No default value) ssl-key (No default value) ssl-crl (No default value) ssl-crlpath (No default value) tls-version (No default value) table FALSE user (No default value) safe-updates FALSE i-am-a-dummy FALSE connect-timeout 0 max-allowed-packet 16777216 net-buffer-length 16384 select-limit 1000 max-join-size 1000000 secure-auth TRUE show-warnings FALSE plugin-dir (No default value) default-auth (No default value) binary-mode FALSE connect-expired-password FALSE C:\Users\lenovo>
06-23
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值