SOMS/README.md
2024-07-15 10:31:26 +08:00

25 lines
875 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### kestrel 配置
[官方在线文档](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-5.0)
### apb框架地址
[官方地址](https://aspnetboilerplate.com/)
### mongodb相关
芒果数据库查看内存占用 db.serverStatus().tcmalloc
### mysql
<code>use mysql;</code><br>
<code>update user set authentication_string='' where user='root';</code><br>
--将字段置为空<br>
<code>ALTER user 'root'@'localhost' IDENTIFIED BY 'root';</code><br>
--修改密码为root<br>
<code>flush privileges;<br>
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
<code>flush privileges;<br>
由于VS运行太久参数大量的缓存导致VS卡顿。
1.单击“开始”,选择“运行...”或者win+r快捷键
2.键入“devenv.exe /resetuserdata”。
#更新数据字段代码
UPDATE vs_preset_point
SET IsImageRecognition = 0
WHERE Name LIKE '%LH_%相' OR Name LIKE '%%相电压';