我试图使用PHPMyAdmin GUI将SQL文件导入到我的实时服务器中,但是我被卡住了! 注意! 我已经从本地主机中导出了数据库,并试图将其导入到实时服务器中。
错误 静态分析:
分析期间发现11个错误。
Unexpected character. (near "{" at position 321)
Unexpected beginning of statement. (near "DOCTYPE" at position 2)
Unexpected beginning of statement. (near "HTML" at position 10)
Unexpected beginning of statement. (near "html" at position 16)
Unexpected beginning of statement. (near "lang" at position 21)
Unexpected beginning of statement. (near "'en'" at position 26)
Unexpected beginning of statement. (near "dir" at position 31)
Unexpected beginning of statement. (near "'ltr'" at position 35)
Unexpected beginning of statement. (near "head" at position 42)
Unexpected beginning of statement. (near "meta" at position 48)
Unrecognized statement type. (near "charset" at position 53)
SQL查询:
html {显示:无MySQL说:文档 #1064-您的SQL语法有误;查看与您的MySQL服务器版本相对应的手册,以获取在'附近使用的正确语法
答案 0 :(得分:0)
我找到了解决方案! 只需找到“创建数据库...”并将数据库名称替换为服务器数据库名称即可。 即domain_db_name,您可以在c-panel上找到它