
MySQL安装问题
L-DiCaprio
学习中~
展开
-
MySQL启动报错:Different lower_case_table_names settings for server (‘0‘) and data dictionary (‘1‘).
【代码】MySQL启动报错:Different lower_case_table_names settings for server (‘0‘) and data dictionary (‘1‘).原创 2024-09-03 13:10:47 · 1084 阅读 · 0 评论 -
【MySQL in Python】Authentication plugin ‘caching_sha2_password‘ is not supported
mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported应该是mysql-connector出了问题首先卸载掉mysql-connector:pip uninstall mysql-connector再把mysql-connector-python卸载掉pip uninstall mysql-connector-python重新安装mysq原创 2021-03-07 20:01:59 · 203 阅读 · 0 评论 -
【sqlite3】sqlite3.OperationalError: table addresses has 7 columns but 6 values were supplied
sqlite3.OperationalError: table addresses has 7 columns but 6 values were supplied 创建表时列名和执行插入语句时的列名要一致。原创 2021-03-07 16:09:07 · 1307 阅读 · 0 评论 -
【MySQL】报错:ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mys
报错:ERROR 2002 (HY000): Can’t connect to local MySQL server through socket /var/lib/mysql/mysql.sock’ (2)解决:chmod 777 /var/lib/mysqlservice msyqld restartmysql -u root -p#此处直接点击回车进入,不需要密码mysql> use mysql;Reading table information for completion of原创 2022-01-20 20:52:31 · 852 阅读 · 0 评论 -
【MySQL】update mysql.user set authentication_string=password(“123456“) where User=‘root‘; 报错
用这个语法改,上面的语法不行。ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';原创 2021-03-14 19:25:36 · 13890 阅读 · 16 评论