mysql通过参数文件启动_mysql启动的时参数文件中的[mysql]下的参数没有生效
my.cnf下的參數如下
[mysqld]
此處省略.....
[mysql]
#no-auto-rehash
prompt='\u@\h:\p\d mysql>'
#max_allowed_packet = 1024M ##影響mysql導人的速度
#default_character_set = gbk
啟動方式
mysqld --defaults-file=/etc/my.cnf &
啟動后prompt沒有生效
[root@mysqldb15 ~]# mysql -uroot -p -S /tmp/mysql3306.sock
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.29-log MySQL Community Server (GPL)
Copyright (c) 2000, 2016, 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.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
求回復
總結
以上是生活随笔為你收集整理的mysql通过参数文件启动_mysql启动的时参数文件中的[mysql]下的参数没有生效的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL拦截器获取xml id_关于m
- 下一篇: python数据分析面试_python数