2012-03-10, 06:57 PM
I know it's my fault and I was trying to be too careful and not thinking enough about what I was doing. Unfortunately I seem to have lost my BB after trying to upgrade from 1.6.4 to 1.6.6.
In order that I could go back to where I was in case of problems (running myBB on local server), I renamed the old installation folder and created a new folder with the old name. I then started a new installation (which I now realise was not an upgrade to my existing installation). I entered all the details of the database, which it accepted but when I went to the board, there is no data installed. I thought I could get it all back from my database backup but when I go through this procedure in phpMyAdmin, after a while I get the following text output:
Error
SQL query:
-- MyBB Database Backup
-- Generated: 10th March 2012 at 17:02
-- -------------------------------------
CREATE TABLE
KEY
) ENGINE = MYISAM DEFAULT CHARSET = utf8;
MySQL said: Documentation
#1046 - No database selected
Can anybody advise me as to how I can get out of this situation? I've replaced my old installation files (still 1.6.4) but the data remains empty.
In order that I could go back to where I was in case of problems (running myBB on local server), I renamed the old installation folder and created a new folder with the old name. I then started a new installation (which I now realise was not an upgrade to my existing installation). I entered all the details of the database, which it accepted but when I went to the board, there is no data installed. I thought I could get it all back from my database backup but when I go through this procedure in phpMyAdmin, after a while I get the following text output:
Error
SQL query:
-- MyBB Database Backup
-- Generated: 10th March 2012 at 17:02
-- -------------------------------------
CREATE TABLE
mybb_adminlog
(uid
int( 10 ) unsigned NOT NULL DEFAULT '0',ipaddress
varchar( 50 ) NOT NULL DEFAULT '',dateline
bigint( 30 ) NOT NULL DEFAULT '0',module
varchar( 50 ) NOT NULL DEFAULT '',action
varchar( 50 ) NOT NULL DEFAULT '',data
text NOT NULL ,KEY
module
( module
, action
)) ENGINE = MYISAM DEFAULT CHARSET = utf8;
MySQL said: Documentation
#1046 - No database selected
Can anybody advise me as to how I can get out of this situation? I've replaced my old installation files (still 1.6.4) but the data remains empty.