Login
Remember
Register
Askocloud Q&A
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Ask a Question
Db upload error in cPanel
0
votes
22
views
asked
Jan 29
in
Control panels
by
janine
I am getting the below when uploading DB to cPanel via both phpmyadmin and terminal
Can anyone advice on this?
<div class="alert alert-danger" role="alert"><h1>Error</h1><p><strong>SQL query:</strong> <a href="#" class="copyQueryBtn" data-text="SET SQL_QUOTE_SHOW_CREATE = 1">Copy</a>
<a href="index.php?route=/database/sql&sql_query=SET+SQL_QUOTE_SHOW_CREATE+%3D+1&show_query=1&db=homoeopaedia"><span class="text-nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit"> 
-------------
ERROR 1064 (42000) at line 1251371: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '<div class="alert alert-danger" role="alert"><h1>Error</h1><p><strong>SQL que...' at line
db
database
dump
cpanel
phpmyadmin
Please
log in
or
register
to answer this question.
1
Answer
+1
vote
answered
Jan 29
by
geone seban
selected
Jan 29
by
janine
Best answer
I did face this error before, it was because the taken db dump was corrupt, I did take again via the command line using
mysqldump -u "dbuser" -p "dbname" > backup.sql
then restore using
mysql -u "dbuser" -p "dbname" < backup.sql
Please
log in
or
register
to add a comment.
Welcome to Askocloud Q&A, A Forum for server support Engineers where you can ask questions and receive answers from other members of the community.
Related questions
your ip address has changed. please log in again error in cPanel login
error while creating email account in cPanel
Hourly email limit in cPanel
CRAM-MD5 in cPanel
Remove or disable theme Paper latern in cpanel
cPanel & WHM update failure in upcp script
What is the process for renewing AutoSSL for a single cPanel account using command in cPanel?
Access SSH in GoDaddy cPanel
Unable to install cPanel
Incoming emails marking spam by cPanel
cpanel update-packages script
Missing email accounts from cPanel
...