Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 2181 to 2190 of 15691 « Previous | Next »
61.11. this is incompatible with sql_mode=only_full_group_by

ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mydb.

【mysql】  【Group】   点击查看原文>

61.8. ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

MySQL 5.7 密码强度,必须含有0-9,a-z,A-Z以及“-”或“_” https://dev.mysql.com/doc/refman/5.7/en/validate-password-options-variables.

【安全】  【mysql】  【test】  【grant】  【html】   点击查看原文>

61.6. ERROR 1503 (HY000): A PRIMARY KEY must include all columns in the table's partitioning function

http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations-partitioning-keys-unique-keys.html

原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

【mysql】  【html】   点击查看原文>

61.7. ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

这个错误来自 MySQL 5.7,首次登陆MySQL 5.7 必须修改密码 ALTER USER 'root'@'localhost' IDENTIFIED BY 'your_password';

原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

【mysql】  【BY】   点击查看原文>

61.3. 查看错误代码

mysql> \! perror 6 OS error code 6: No such device or address

61.3.1. ERROR 1153 (08S01) at line 3168: Got a packet bigger than 'max...

【mysql】  【主机】   点击查看原文>

第 61 章 FAQ

目录 61.1. Reset root password 重置MySQL root密码 61.2. 数据库内容替换 61.3. 查看错误代码 61.3.1. ERROR 1153 (08S01) at line 3168: Got a packet bigger than 'max_allowed_packet' bytes 61.

【faq】  【mysql】  【Oracle】  【centos】  【Server】  【update】  【Socket】   …

[获取更多]
61.2. 数据库内容替换

  #!/bin/bash HOST='localhost' USER='neo' PASS='chen' SDB='neo' TDB='netkiller' MYSQLDUMP="mysqldump" MYSQLDUMPOPTS="-h${HOST} -u${USER} -p${PASS}" ...

【mysql】  【SQL】  【数据库】  【Create】  【database】  【sed】  【Bash】   点击查看原文>

53.7. Control Flow Functions

CASE mysql> SELECT CASE 1 WHEN 1 THEN 'one' -> WHEN 2 THEN 'two' ELSE 'more' END; -> 'one' mysql> SELECT CASE WHEN 1>0 THEN 'true'...

【mysql】  【test】   点击查看原文>

53.5. Date and Time

SELECT NOW(),CURRENT_TIMESTAMP(),SYSDATE();

53.5.1. year/month/day hour:minite:second

mysql> select year('2012-03-20'); +-----------...

【mysql】  【Group】   点击查看原文>

53.6. 数值函数

53.6.1. cast 类型转换

mysql> SELECT cast(SUBSTRING('123456789',1,4) as UNSIGNED) * 100; +-------------------------------------------------...

【mysql】  【函数】   点击查看原文>