-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MovieGenre3.csv无法导入数据库的问题 #26
Comments
你好,想问一下你解决了吗 |
你好,刚看到不好意思。
在 2022-04-09 10:02:49,"chicig" ***@***.***> 写道:
你好,想问一下你解决了吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
你好,刚看到邮件,不好意思。这个项目的数据导入问题我后面没有解决成功,尝试使用navicat等工具还是不行。
在 2022-04-09 10:02:49,"chicig" ***@***.***> 写道:
你好,想问一下你解决了吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我使用pycharm的database功能导入,是完全没有问题的 |
请问你最后跑出来了吗 |
我解决了,是编码问题,用notepad++把编码改为utf-8就ok了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用Navicat或者用python处理csv,均不能正确将csv数据导入到数据库表。分析可能存在的问题:
3.imdbID数据中,有一些电影名是乱码,在pycharm里用sql命令导入时,报编码错误,怀疑存在编码问题。SQL命令如下:"load data infile 'csv文件/MovieGenre3.csv' into table moviegenre3 fields terminated by ',' lines terminated by '\n' (userId,imdbId,poster);"
有没有导入成功的小伙伴提供一些解决思路,谢谢
The text was updated successfully, but these errors were encountered: