表示 进入内容 2141215014826
« 先前的 10 新的记录 | 下一步 10 较早的记录 »
Displaying posts with tag: MySQL (reset)
72.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】   点击查看原文>

72.3. 查看错误代码

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

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

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

第 72 章 FAQ

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

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

[获取更多]
Centos7.2下安装mysql命令行客户端

centos7.2下yum下找不到mysql客户端的rpm包了,需要从官网下载

1.安装rpm源

rpm -ivh https://repo.mysql.com//mysql57-community-release-el7-11.

【mysql】  【yum】  【测试】  【rpm】   点击查看原文>

61.15. ERROR 1086 (HY000): File '/var/lib/mysql-files/order.txt' already exists

SELECT * FROM tabname INTO OUTFILE 不支持覆盖操作,这是MySQL从安全角度考虑的。 mysql> SELECT * FROM `order` INTO OUTFILE '/var/lib/mysql-files/order.txt'; ERROR 1086 (HY000): File '/var/lib/mysql-files/order.txt' already exists

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

【安全】  【mysql】  【file】   点击查看原文>

61.14. ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

MySQL 不允许向 secure_file_priv 意外的目录导出文件。 mysql> SELECT * FROM `order` INTO OUTFILE '/tmp/order.txt'; ERROR 1290 (HY000): The MySQL server is running...

【mysql】  【Server】  【variables】  【IT】   点击查看原文>

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】   点击查看原文>

表示 进入内容 2141215014826
« 先前的 10 新的记录 | 下一步 10 较早的记录 »