![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
Yoy_ing
一个热爱技术,热爱生活,爱自己所爱人的小男人。
展开
-
使用笛卡尔积完成数据库单字段逗号分隔字符串数据的拆分
使用笛卡尔积完成数据库单字段逗号分隔字符串数据的拆分SELECT a.`answer_result_id`,SUBSTRING_INDEX(SUBSTRING_INDEX(a.`answer`,',',b.help_topic_id+1),',',-1)answer,single_subject_score,subject_idFROM `exam_manage_answer_result...原创 2018-04-09 10:16:39 · 409 阅读 · 0 评论 -
本地连接mysql数据库报错:ERROR 1130: host 'localhost' not allowed to connect to this MySQLsever
当出现mysql数据库文件出现迁移/重装造成登陆进去的时候报错: ERROR 1130: host ‘localhost’ not allowed to connect to this MySQLserver 解决方法:先停止MySQL服务,执行net stop mysql;在mysql的安装路径下找到配置文件my.ini, 找到[mysqld] 输入:skip-grant-tab...原创 2018-04-09 10:26:19 · 242 阅读 · 0 评论