2024-09-19
2024-09-17
2024-09-17
2024 09-20 我们在使用navicat连接mysql的时候,会报错是吧!如果出现了下面错误:Client does not support authentication protocol requested by server意思是:客户端不支持服务器请求的身份验证协议那么我们只需要打开自己电脑中的mysql,输入你的密码登录。然后我们在第一行中输入:alter user 'root'@'localhos... 2024 09-17 这个程序是用来测试的,你肯定是这么写的?with app.app_context(): with db.engine.connect() as conn: rs = conn.execute("select 1") print(rs.fetchone())接下来我们需要对上面代码进行修改,如下所示:from sqlalchemy import textwit... 2024 09-17 找到MySQL的data安装目录,如果当初没有自定义修改,则默认安装在C盘的projectData文件里。主要按照这个路径,MySQL/MySQL Server 8.0,找到my.ini。右击my.ini,点属性,再点安全,再点编辑点user,点完全控制权限允许,点应用,再一直点确定,OK,完成。 2024 09-17 在安装MySQL时,我们可能在第四步(initializing database)显示安装失败The configuration for MysQL Server 8.0.26 has failed.You can find more information about the failures in the 'Log' tab在C:\ProgramData\MySQL\MySQL Serv... |