版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/NextAction/article/details/83182039
使用python连接mysql报错:
pymysql.err.InternalError: (1236, 'Misconfigured master - server_id was not set')
报错原因:my.cnf文件中没有设置server_id
查找文件命令:whereis my.cnf
使用python连接mysql报错:
pymysql.err.InternalError: (1236, 'Misconfigured master - server_id was not set')
报错原因:my.cnf文件中没有设置server_id
查找文件命令:whereis my.cnf