导入mysql文件报错:ERROR: ASCII ‘\0‘ appeared in the statement, but this is not allowed unless option --bin
在win10的PowellShell备份的sql文件在linux上导入都会报这个错误,改成在cmd下导出sql文件就行了,注意这个坑导出:mysqldump-u用户名-p数据库名>备份.sql导入:mysql-u用户名-p数据库名<备份.sql可以在PowellShell下远程拷贝文件到你的服务器打开PowellShell输入:文件:scp 备份.sql远程用户名@远程ip: 远程目录
·
已为社区贡献1条内容
所有评论(0)