Phpmyadmin Mysql import error

i´m trying to import XML file to MYSQL using PHPMYADMIN.
But I´m receiving this error :

CREATE TABLE IF NOT EXISTS  `xpsbahq`.(

) ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Mensagens do MySQL :

#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 '() ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci' at line 1
Jose BredariolPMPAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Maybe because there is nothing there?  You can't create a table out of nothing.  ??
0
Jose BredariolPMPAuthor Commented:
The file is full (about 10000 lines), but the table is empty. Any problem with that ?
0
Dave BaldwinFixer of ProblemsCommented:
Besides an extra period in `xpsbahq`.( , you're not showing any columns defined.  Is that the whole table creation section?
0
F PCommented:
Remove the . before your parentheses after the table name.

You can't create tables with no columns. Just change/add to this:

CREATE TABLE IF NOT EXISTS  `xpsbahq`(
    id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY
) ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jose BredariolPMPAuthor Commented:
thanks all
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.