0

hi everyone
when i tried to import my web site database to local sql server myphpadmin
show me this errors i dont know why ??
please help me

Error
SQL query:

--
-- Database: `hakaek10_alqemaalhakaek`
--
-- --------------------------------------------------------
--
-- Table structure for table `rafia_admin_menu`
--
CREATE TABLE IF NOT EXISTS `rafia_admin_menu` (

`menuid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`submenu` INT( 1 ) NOT NULL DEFAULT '0',
`orderby` INT( 10 ) NOT NULL DEFAULT '0',
`menutitle` VARCHAR( 100 ) DEFAULT NULL ,
`menuurl` VARCHAR( 100 ) DEFAULT NULL ,
PRIMARY KEY ( `menuid` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =82;

MySQL said:

#1046 - No database selected

3
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by kingofnothing
0

How did you do the import ? You have to select a database first, but how to do that depends on your method.

0

Add the following to the beginning of your text file:

USE Database ;

Where Database is the name of the database you want to create the table in.

0

yes i import its by choosing file from import tab in myphpadmin
any suggestion ?

0

sorry i notice that im not select it
thankx

Edited by kingofnothing: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.