Hi Everyone,
I am trying to upgrade my website from max1.7 to RC3 but before doing that I am working on it on my local computer before working on my live site. So far I have downloaded a copy of my active database onto my computer, so that I can use mysqldiff on it in order to convert my database to the new RC3 database. But I have a couple of questions that I am hoping someone can help me out with.
1) When I try to import the live copy of my database onto my phpmyadmin on my local computer it starts to import and than it stops and I get the folowing error mesage;
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1038478 bytes) in C:\wamp\phpmyadmin\libraries\import\sql.php on line 213
I looked at my sql.php file line 213 and this is what I have;
}
// Skip last char
$i++;
// Next query part will start here
$start_pos = $i;
// Aren't we at the end?
if ($i == $len) {
$i--;
} else {
continue;
I am not a coder so I don't know what needs to be change here. The size of my downloaded database copy is 1.08 MB in the zip format and 6.67 MB when I unzip it. I did do a side by side comparison of my live database and my imported copy and I notice that on some of the tables the records size are a little off but also the last six tables are missing from my local copy. Which brings me to my first questions is there any way to fix this problem? I quess I am more concern with the missing tables than I am with the record size differance, though I sure would like to keep all my records if possible.
2) My second question has to do with the mysqldiff program. When doing the convertion which is the source Database (current datebase) and which is the target database (database layout to convert to)? This may be a dumb questions but since this is my first time doing this, I just want to be sure before I make any mistake. If I understand this correctly the source database would be the copy I made of my active site and the target would be the database I made when I install RC3 on my local computer. Is this correct or is it the other way around?
Thanks guys for any and all help.





LinkBack URL
About LinkBacks










Bookmarks