Having problems transferring MySql
I am trying to update to v151 from 1.3.9h. I have a freshly installed version with no changes made and I am trying to transfer MySql before doing anything else and when I go to Import I get this message... "The directory you set for upload work cannot be reached". I know I'm doing something wrong but I have no idea what. Please help!
Re: Having problems transferring MySql
I should have said that I have a freshly installed version in a new folder and that my old site still remains
Re: Having problems transferring MySql
Quote:
Originally Posted by
doooomed
when I go to Import I get this message... "The directory you set for upload work cannot be reached".
Is that an error message inside phpMyAdmin? If so, then contact your hosting company for help with it, since phpMyAdmin is hosted by them, and not connected to Zen Cart.
Re: Having problems transferring MySql
Thank you Doc, I am just awaiting a reply from them. I should also mention, just in case it means something to you that when I am on the page to Import mysql I also have the option to upload directly from my computer, which I did, and it claims to be successful but no changes are made to the site. Maybe I forgot to do something?
Re: Having problems transferring MySql
Are you aware of how to handle the MySQL "file"?
Essentially, it is little more than a mass of "organised text".
Technically, a SQL "dump" can be stored as a plain TXT file. I give my backups the file extension .sql so that my editor recognises it. But I could call it "xxxxxx.txt" and it will retain all of its integrity.
But as I said... it's little more than a wad of "organised text".
The only way the "file" will operate, is if it is IMPORTED IN TO A MySQL DATABASE.
Only AFTER it is put into a MySQL database, will it operate as intended.
It looks like you have done step ONE (capture the CONTENT of your original database).
Now step TWO will be to IMPORT it into a MySQL database...
It can't just hang around as a "file"... it needs to be inside a database.
Re: Having problems transferring MySql
Hi Schoolboy, I understand what you are saying. I am not sure if I am going about putting the information into MySQL database properly. I think I am but it's not working so probably not. This is my understanding... saved the old db to my desktop, installed the new store into a new folder. I named the new MySQL the same as the old (same login info, same everything) and I thought that would work. Then I tried the export/import method with no luck. I'm pretty sure it's me doing something wrong but I'm pretty lost at the moment as this is the first time I've done this.
Re: Having problems transferring MySql
Much will depend on how you made the "backup" or "copy" from the ORIGINAL database.
You may have saved it as a ZIP file or something.
Tell me what your database "file" is called?
Is it something like " XXXXXXXX.sql "
What file extension does it have? (.sql ... or .txt .... or something else ???)
Re: Having problems transferring MySql
Re: Having problems transferring MySql
How "confident" are you with working in phpMyAdmin ???
There is another way to do this WITHOUT having to manually copy the database.
In phpMyAdmin, you can get the system to copy a database for you (if you are working off the same location).
Re: Having problems transferring MySql
Not much knowledge in that department but as long as it won't bother my active site I'd be willing to try!