在mysql交互终端中,当我想创建一个新的数据库时ERROR 1064 (42000): You have an error inyour SQL syntax; check the manual that corresponds to your MySQL server version for the right syntaxto use near '-new' at line 1
我不确定mysql是否允
因此,我有一个MySQL docker容器,我在该容器上运行脚本以写入数据库,但是当我执行脚本时,我的脚本抛出 mysql.connector.errors.DatabaseError: 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) 是否必须在Do文件中启动MySQL服务?restart: always MYSQL_ROOT_P