首页
科技
登录
6mi
u
盘
搜
搜 索
科技
导入mysql文件报错:ERROR: ASCII ‘‘ appeared in the statement, but this is not allowed unless option --bin
导入mysql文件报错:ERROR: ASCII ‘‘ appeared in the statement, but this is not allowed unless option --bin
科技
2024-05-14
66
在win10的PowellShell备份的sql文件在linux上导入都会报这个错误,改成在cmd下导出sql文件就行了,注意这个坑
导出:mysqldump -u用户名 -p 数据库名
>
备份.sql 导入:mysql -u用户名 -p 数据库名
<
备份.sql
可以在PowellShell下远程拷贝文件到你的服务器
打开PowellShell输入:
拷贝文件:scp 本地文件 远程用户名@远程ip: /远程目录/ 拷贝目录:scp -r 本地目录 远程用户名@远程ip: /远程目录/
转载请注明原文地址:https://blackberry.8miu.com/read-30985.html
最新回复
(
0
)