Jump to content
xisto Community
Sign in to follow this  
NuHoaXuLa

Restore Database Have Bug ? I restore and have errors

Recommended Posts

I tried restore a database as type : username_forumname.sql ! After restore , check in cpanel , feature mysql datase , I seen a new database is : username_usernameforumnamesql ! Have anything wrong ?

Share this post


Link to post
Share on other sites

I had that kind of problems some time ago. but i was too lazy and just made a new forum :rolleyes:
What kind of forum do you have? If you have phpbb, then use the admin panel's feature of restoring database...
Or check here

Share this post


Link to post
Share on other sites

I used cpanel to restore !I using xmbforum , install from cpanel ! If i backup use control panel in xmb , it don't backup files attachments ! So i must use cpanel to backup , and now I don't use cpanel to restore database ! I think have any problems in cpanel or i used tool wrong ? Have anybody answer me ?

Share this post


Link to post
Share on other sites

It's because of CPanel, for example when you create a database EMP, you'll get username_EMP if you do it through CPanel MySQL Databases.. through PHPMyAdmin you don't have the permission to create databases.. SO I think you only need to alter the .sql file be changing the name of CREATE DATABASE username_EMP ... to CREATE DATABASE EMP, even though I don't know exactly how you did the backup and etc. but CPanel should create it with username_EMP and username is the username of your account. :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.