Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: gisfreak - kesäkuu 16, 2011, 06:45:22 AP

Otsikko: Error restoring database
Kirjoitti: gisfreak - kesäkuu 16, 2011, 06:45:22 AP
I  want to make local copy of my SMF

so I install XAMPP and try to back up my SMF database via cpanel

but when I try to import  my database trough phpmyadmin in my localhost, error returned

LainaaError

SQL query:

--
-- Table structure for table `smf_ads`
--
DROP TABLE IF EXISTS `smf_ads` ;

MySQL said: Documentation
#1046 - No database selected

any clue on this problem ?

thanx,
Otsikko: Re: Error restoring database
Kirjoitti: Illori - kesäkuu 16, 2011, 06:50:16 AP
have you created a database? how exactly are you trying to import the database into phpmyadmin?
Otsikko: Re: Error restoring database
Kirjoitti: gisfreak - kesäkuu 16, 2011, 06:55:36 AP
ah , solved , I though when i import database, it will created too, so its need blank database, am I correct?

hem, my bad, I feel like an idiot ahahahaha, thanx Illori

but i got


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 53256031 bytes) in C:\xampp\phpMyAdmin\libraries\import.lib.php on line 290

i think I need to edit those lib

will give feedback later