YA restore question – procedural
-
I’ve searched, and I’m getting a bit muddled on the exact steps for a restore from an existing WP1.5 install. So, here goes:
I just upgraded my OS X server to Tiger, clean install. I’m running PHP 5.0.4, MySQL 4.0.25, and phpMyAdmin 2.6.3-pl1.
I have backups of my old database from the original install.
I’ve created a new database in MySQL called ‘wordpress’ and a user called wordpress with all privs on that database.
I have a copy of my old WP directory with all the necessary files in it.
What’s unclear to me is whether I need to install WP *before* trying to restore my old database backup into its new home.
I tried to restore the databse using PHPMyAdmin, and I got this error when trying to import the .sql file:
#1064 – You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘cat_ID
bigint(20) NOT NULL auto_increment,cat_name` varcha
The file is only 464KB.
And what must absolutely be the same between the two installs? I’ve used the same database name (wordpress) and the same user (wordpress). I was planning on using a different host name and a different subdirectory for the WP files, but can’t I specify those things in config?
If I do need to do the fresh install, do I then just gut the WP files and replace them with the files from my backed-up directory, changing config to see the new host name and subdirectory?
Thanks *very much* for any help you can provide. I think my brain is just getting tired of reading installation instructions after the last two days of rebuilding this server.
[email protected] (<– google talk, too)
The topic ‘YA restore question – procedural’ is closed to new replies.