[英]Getting syntax error while exporting mysql database
我在 centOS 服務器上安裝了 cPanel 試用版,該服務器現已過期。 所以我無權訪問 cPanel 用戶和 WHM 登錄。
我嘗試了以下mysql> mysqldump -u root –ppassword db_name > db_nametext.sql;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near mysqldump -u root –ppassword db_name > db_name at line 1
感謝您的時間和考慮。
You cannot run mysqldump
from mysql
shell: mysqldump
is not a SQL statement but an executable that must be run from linux shell like mysql
command.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.