10 2021 档案

摘要:一、启动方式 1、使用linux命令service 启动: service mysqld start 2、使用 mysqld 脚本启动: /etc/inint.d/mysqld start 3、使用 safe_mysqld 启动: safe_mysqld& 一、重启 1、使用linux命令servi 阅读全文
posted @ 2021-10-27 10:44 宇宙小咖 阅读(3819) 评论(0) 推荐(0)
摘要:#autoindex on;#去掉这一行内容,重启nginx即可 location /soft { #autoindex on;#去掉或者注释这一行内容 autoindex_exact_size off; autoindex_localtime on; } 阅读全文
posted @ 2021-10-26 14:34 宇宙小咖 阅读(56) 评论(0) 推荐(0)
摘要:#登录 mysql -uroot -ppassword #选择数据库 use mysql; # 远程连接请将'localhost'换成'%' #更改加密方式 ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE 阅读全文
posted @ 2021-10-26 14:00 宇宙小咖 阅读(42) 评论(0) 推荐(0)
摘要:一、修改配置 1、查询系统参数 show variables like '%innodb_strict_mode%'; show variables like '%innodb_log_file_size%'; 2、修改系统参数 vim /etc/my.cnf #添加如下: innodb_log_f 阅读全文
posted @ 2021-10-26 11:28 宇宙小咖 阅读(746) 评论(0) 推荐(0)
摘要:一、数据库 【问题】 InnoDB 日志文件大小这个检查能做什么?检查您的 MySQL 数据库中的 innodb_log_file_size 变量是否恰当。 结果Your innodb_log_file_size of 25,165,824 is too small. You should incr 阅读全文
posted @ 2021-10-26 11:24 宇宙小咖 阅读(189) 评论(0) 推荐(0)