SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


MySQL database issue


MySQL database issue

Author
Message
FrankKelly
FrankKelly
SSC Rookie
SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)

Group: General Forum Members
Points: 26 Visits: 1
I need help to restore a mysql database. I'm using cpanel and phpmyadmin.I see not restore function in phpmyadmin.
Luis Cazares
Luis Cazares
SSC Guru
SSC Guru (132K reputation)SSC Guru (132K reputation)SSC Guru (132K reputation)SSC Guru (132K reputation)SSC Guru (132K reputation)SSC Guru (132K reputation)SSC Guru (132K reputation)SSC Guru (132K reputation)

Group: General Forum Members
Points: 132419 Visits: 21923
FrankKelly (7/12/2016)
I need help to restore a mysql database. I'm using cpanel and phpmyadmin.I see not restore function in phpmyadmin.

I'm sorry, this forum is specialized in Microsoft SQL Server, so you might not get the best advice in here.
Try checking http://forums.mysql.com/ or at http://www.stackoverflow.com


Luis C.
General Disclaimer:
Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?


How to post data/code on a forum to get the best help: Option 1 / Option 2
KristofLakatos
KristofLakatos
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 0
Do You want a database restore from a backup? or a database corruption fix?
For the first case, you need a backup file generated before. if it's a mysqldump backup,
you need to execute the command line:
mysql -u root -p databasename < backupfilename
For the second case, you can execute the database/ table repair command:
REPAIR TABLE tbl_name [, tbl_name] ... [QUICK|EXTENDED]
Example
REPAIR TABLE table1, table2, table3 EXTENDED
It only works if you have the proper rights in that database.
If this method doesn't work then only try to recover the data by using MySql Recovery Toolbox. It is a qualitative tool that may help you. http://www.oemailrecovery.com/mysql_recovery.html
KristofLakatos
KristofLakatos
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 0
You can still read this resource for more information on your issue.
http://www.sqlservercentral.com/Forums/Topic1618894-2893-1.aspx
FrankKelly
FrankKelly
SSC Rookie
SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)

Group: General Forum Members
Points: 26 Visits: 1
Thank you all for your advice! The issue has been resolved.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search