如果python(2.x)脚本中带有中文,则会报错: SyntaxError: Non-ASCII character '\xe8' in file demo.py on line 7, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 原因是而Python 2.x支持的 ASCII
一、前言 开发给了一个带函数的sql文件让我执行,但是执行导入时报以下错误 This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled 二、解决 在数据库命令行中执行以下命令(临时生效) set