当前位置:网站首页>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
边栏推荐
- What is a LAN domain name? How to parse?
- About web content security policy directive some test cases specified through meta elements
- [neural network] convolutional neural network CNN [including Matlab source code 1932]
- Fleet tutorial 14 basic introduction to listtile (tutorial includes source code)
- 超标量处理器设计 姚永斌 第9章 指令执行 摘录
- Upgrade from a tool to a solution, and the new site with praise points to new value
- Several methods of checking JS to judge empty objects
- [full stack plan - programming language C] basic introductory knowledge
- Flet教程之 15 GridView 基础入门(教程含源码)
- Inverted index of ES underlying principle
猜你喜欢
数据库系统原理与应用教程(010)—— 概念模型与数据模型练习题
VSCode的学习使用
小红书微服务框架及治理等云原生业务架构演进案例
【数据聚类】基于多元宇宙优化DBSCAN实现数据聚类分析附matlab代码
超标量处理器设计 姚永斌 第9章 指令执行 摘录
Attack and defense world ----- summary of web knowledge points
Completion report of communication software development and Application
Inverted index of ES underlying principle
《看完就懂系列》天哪!搞懂节流与防抖竟简单如斯~
Introduction and application of smoothstep in unity: optimization of dissolution effect
随机推荐
ES底层原理之倒排索引
College entrance examination composition, high-frequency mention of science and Technology
When sink is consumed in mysql, the self incrementing primary key has been set in the database table. How to operate in Flink?
111.网络安全渗透测试—[权限提升篇9]—[Windows 2008 R2内核溢出提权]
开发一个小程序商城需要多少钱?
小红书微服务框架及治理等云原生业务架构演进案例
Tutorial on principles and applications of database system (007) -- related concepts of database
108.网络安全渗透测试—[权限提升篇6]—[Windows内核溢出提权]
Basic introduction to the 16 tabs tab control in the fleet tutorial (the tutorial includes source code)
18 basic introduction to divider separator component of fleet tutorial (tutorial includes source code)
如何理解服装产业链及供应链
数据库系统原理与应用教程(011)—— 关系数据库
[neural network] convolutional neural network CNN [including Matlab source code 1932]
Baidu digital person Du Xiaoxiao responded to netizens' shouts online to meet the Shanghai college entrance examination English composition
Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt
The hoisting of the upper cylinder of the steel containment of the world's first reactor "linglong-1" reactor building was successful
About web content security policy directive some test cases specified through meta elements
全球首堆“玲龙一号”反应堆厂房钢制安全壳上部筒体吊装成功
108. Network security penetration test - [privilege escalation 6] - [windows kernel overflow privilege escalation]
Mise en œuvre du codage Huffman et du décodage avec interface graphique par MATLAB