
mysql
看守牧场的狼
这个作者很懒,什么都没留下…
展开
-
mysql8.0.19 group by 报错
【错误现象:】#1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'qsiedu-assistant.frame_academy.sort' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_原创 2020-06-28 19:50:19 · 398 阅读 · 0 评论 -
mysql中Table is read only的解决
一客户的mysql数据库600多M.从windows换成linux.导出再导入太麻烦了.于是直接复制物理文件到linux.先创建好linux下面的mysql数据库.再把文件wget过来覆盖掉之后.问题出现了,在mysql中,Select之类的都正常,但在phpmyadmin优化数据库的时候中提示:Table 'jieqi_xxxx' is read only,给数据库目录的所属用户和组改为mysq原创 2016-06-06 15:39:34 · 4775 阅读 · 0 评论 -
phpmyadmin自动登陆和取消
如何将安装的 phpmyadmin 设置为自动登陆?首先在根目录找到config.sample.inc.php复制一份文件名改为config.inc.php(如果已经存在 config.inc.php 文件,则直接修改该文件即可)。打开config.inc.php 找到 $cfg['Servers'][$i]['auth_type'] 将 $cfg['Servers'][$i]['auth_typ原创 2016-06-06 15:39:58 · 1743 阅读 · 0 评论 -
Mysql表使用中,Mysql下修复MYISAM表, MySQL数据表损坏的巧妙修复
修复mysql表之前首先要知道是哪个表出了问题可以用root登录后在information_schema里查找有问题的表名select TABLE_SCHEMA as DB_DBNAME,TABLE_NAME from INFORMATION_SCHEMA.tables where engine is null;可以通过事件查看器里是否有应用程序日志--类型为"错误"--事件来源为"Mysql"的原创 2016-06-06 15:40:09 · 739 阅读 · 0 评论