当前位置:网站首页>In the small skin panel, use CMD to enter the MySQL command, including the MySQL error unknown variable 'secure_ file_ Priv 'solution (super detailed)
In the small skin panel, use CMD to enter the MySQL command, including the MySQL error unknown variable 'secure_ file_ Priv 'solution (super detailed)
2022-07-07 12:24:00 【hcjtn】
Use in small leather panels cmd Get into mysql command , contain mysql error unknown variable 'secure_file_priv’ resolvent ( Hyperdetail )
- According to the first win+r Key to open the run dialog , Input cmd, Get into :
- Enter... On the first line : d:
- Input immediately after : What you use mysql The location of ( Accurate to bin The location of )
for example : My is :
therefore : - After input -u root -p
If you appear below :
Open what you want to use mysql Of my.ini:
View source code :
[mysql]
default-character-set=utf8
[mysqld]
port=3306
basedir=D:/phpstudy_pro/Extensions/MySQL5.7.26/
datadir=D:/phpstudy_pro/Extensions/MySQL5.7.26/data/
character-set-server=utf8
default-storage-engine=MyIsam
max_connections=100
collation-server=utf8_unicode_ci
init_connect='SET NAMES utf8'
innodb_buffer_pool_size=64M
innodb_flush_log_at_trx_commit=1
innodb_lock_wait_timeout=120
innodb_log_buffer_size=4M
innodb_log_file_size=256M
interactive_timeout=120
join_buffer_size=2M
key_buffer_size=32M
log_error_verbosity=1
max_allowed_packet=16M
max_heap_table_size=64M
myisam_max_sort_file_size=64G
myisam_sort_buffer_size=32M
read_buffer_size=512kb
read_rnd_buffer_size=4M
server_id=1
skip-external-locking=on
sort_buffer_size=256kb
table_open_cache=256
thread_cache_size=16
tmp_table_size=64M
wait_timeout=120
[client]
port=3306
default-character-set=utf8
secure_file_priv
Will the last sentence secure_file_priv="" Delete
use
[mysqld]
secure_file_priv=""
Replace it .
6. Input password :
Note that the password here is in the small leather panel root Password .
Successful entry mysql The interface is :
- Exit database :MySQL>exit
Tips :bye
Refresh database :MySQL>flush privileges;
Tips : Query OK,0 rows affected
边栏推荐
- Improve application security through nonce field of play integrity API
- Mastering the new functions of swiftui 4 weatherkit and swift charts
- Visual studio 2019 (localdb) \mssqllocaldb SQL Server 2014 database version is 852 and cannot be opened. This server supports version 782 and earlier
- 即刻报名|飞桨黑客马拉松第三期盛夏登场,等你挑战
- Detailed explanation of debezium architecture of debezium synchronization
- VSCode的学习使用
- Fleet tutorial 19 introduction to verticaldivider separator component Foundation (tutorial includes source code)
- SwiftUI 教程之如何在 2 秒内实现自动滚动功能
- Introduction to three methods of anti red domain name generation
- 数据库系统原理与应用教程(009)—— 概念模型与数据模型
猜你喜欢
5V串口接3.3V单片机串口怎么搞?
[shortest circuit] acwing1128 Messenger: Floyd shortest circuit
The road to success in R & D efficiency of 1000 person Internet companies
超标量处理器设计 姚永斌 第8章 指令发射 摘录
Attack and defense world - PWN learning notes
Flet tutorial 17 basic introduction to card components (tutorial includes source code)
跨域问题解决方案
软件内部的定时炸弹:0-Day Log4Shell只是冰山一角
Up meta - Web3.0 world innovative meta universe financial agreement
wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
随机推荐
DOM parsing XML error: content is not allowed in Prolog
powershell cs-UTF-16LE编码上线
(待会删)yyds,付费搞来的学术资源,请低调使用!
Solve server returns invalid timezone Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually
<No. 8> 1816. 截断句子 (简单)
数据库系统原理与应用教程(011)—— 关系数据库
Idea 2021 Chinese garbled code
[filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
zero-shot, one-shot和few-shot
Sonar:cognitive complexity
"Series after reading" my God! It's so simple to understand throttling and anti shake~
[shortest circuit] acwing1128 Messenger: Floyd shortest circuit
Matlab implementation of Huffman coding and decoding with GUI interface
Present pod information to the container through environment variables
数据库系统原理与应用教程(008)—— 数据库相关概念练习题
Hi3516 full system type burning tutorial
ENSP MPLS layer 3 dedicated line
关于 Web Content-Security-Policy Directive 通过 meta 元素指定的一些测试用例
即刻报名|飞桨黑客马拉松第三期盛夏登场,等你挑战
2022 年第八届“认证杯”中国高校风险管理与控制能力挑战赛