2009-12-15, 03:32 AM
Hi,
I backed up all data using the db backup utility and downloaded the sql file. I am running lampp on linux and used phpmyadmin to import the sql file and I am getting this error (used utf8 as the character set for the file)
phpmyadmin: Version is 3.2.0.1
These are running
Any help would be appreciated. Thanks
I did not solve this problem.
But used my host's phpmyadmin to export the database. I could then successfully import it to my local server setup. (use this new database: changed the database name in /inc/config.php)
I backed up all data using the db backup utility and downloaded the sql file. I am running lampp on linux and used phpmyadmin to import the sql file and I am getting this error (used utf8 as the character set for the file)
phpmyadmin: Version is 3.2.0.1
These are running
Starting XAMPP for Linux 1.7.2...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Quote:Error
SQL query:
-- MyBB Database Backup
-- Generated: 14th December 2009 at 18:16
-- -------------------------------------
CREATE TABLEmybb_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 ,
KEYmodule
(module
,action
)
) ENGINE = MYISAM DEFAULT CHARSET = utf8;
MySQL said: Documentation
#1046 - No database selected
Any help would be appreciated. Thanks
I did not solve this problem.
But used my host's phpmyadmin to export the database. I could then successfully import it to my local server setup. (use this new database: changed the database name in /inc/config.php)