ode连接mysql数据库报错
MySQL server is requesting the old and insecure pre-4.1 auth mechanism. Upgrade the user password or use the {insecureAuth: true} option.
已经查到资料在连接池中添加 insecureAuth: true后就能正常使用,但是还是觉得有点古怪,这段代码到底是干什么的呢?
想问下:
添加后是否跟安全有关系
如果有添加后是更安全还是不安全
是否跟数据库版本有关
我在MySQL 5.6.38上运行MAMP4,我的一个队友在MySQL 5.7.21上运行MAMP5。 他已经导出了一个数据库供我使用,但当我使用Sequel Pro导入他们的数据库时,我得到了以下错误: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json NOT NULL,
`dateCreated` datetime NOT NULL,
`date
我试图使用命令导入641 MB的MySQL数据库:
mysql -u root -p ddamiane_fakty < domenyin_damian_fakty.sql
但我有个错误:
ERROR 1064 (42000) at line 2351406: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<br />
<b>Fatal