I recently changed servers and I think I have made a terrible mistake, I tried backing up my wordpress blog from this tutorial http://www.clockwatchers.com/mysql_dump.html however when I go to import the database I get this "Error
MySQL said: Documentation
#1046 - No database selected " which looks very worrying to me. I have read through the .sql file that it creates and there is some information in there from my previous posts etc. This isn't supposed to be too hard but I've spent about 5 hours trying every little thing. I wonder if anyone out there would be able to help me out and check that I backed it up properly in the first place?
Any ideas on how I can check, I don't think I backed it up properly, I only have a .sql file. I have read through it and it has got some stuff in there from my previous posts.
Any advice greatly appreciated.
Code:
SQL query:
--
-- Database: `preciseformworkcouk_434616_db1`
--
-- --------------------------------------------------------
--
-- Table structure for table `truewp_commentmeta`
--
CREATE TABLE IF NOT EXISTS `truewp_commentmeta` (
`meta_id` bigint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
`comment_id` bigint( 20 ) unsigned NOT NULL default '0',
`meta_key` varchar( 255 ) default NULL ,
`meta_value` longtext,
PRIMARY KEY ( `meta_id` ) ,
KEY `comment_id` ( `comment_id` ) ,
KEY `meta_key` ( `meta_key` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =4;
MySQL said: Documentation
#1046 - No database selected " which looks very worrying to me. I have read through the .sql file that it creates and there is some information in there from my previous posts etc. This isn't supposed to be too hard but I've spent about 5 hours trying every little thing. I wonder if anyone out there would be able to help me out and check that I backed it up properly in the first place?
Any ideas on how I can check, I don't think I backed it up properly, I only have a .sql file. I have read through it and it has got some stuff in there from my previous posts.
Any advice greatly appreciated.