# -v 显示日志 -U 禁止无 where 更新
mysql -v -U -uroot -proot -h $IP -P 3306 --default-character-set=utf8 < mysql_run.sql
set character set utf8;
# 避免 Oracle 乱码
export NLS_LANG="AMERICAN_AMERICA.AL32UTF8"
sqlplus system/system@$IP:1521/ORCL @oracle_run.sql
# -v 显示日志 -U 禁止无 where 更新
mysql -v -U -uroot -proot -h $IP -P 3306 --default-character-set=utf8 < mysql_run.sql
set character set utf8;
# 避免 Oracle 乱码
export NLS_LANG="AMERICAN_AMERICA.AL32UTF8"
sqlplus system/system@$IP:1521/ORCL @oracle_run.sql
本文标题:MySQL Oracle 命令行执行乱码解决
本文链接:https://www.haomeiwen.com/subject/yynloltx.html
网友评论