getting error when try to openx advertisement application on the windows using XAMPP

hi
i am getting an error when try add details on one of the page within the application i am wondering this has to do with some missing pear extension or mysql version please advise
PEAR Error 

MDB2 Error: syntax error 
_doQuery: [Error message: Could not execute statement]
[Last executed query: CREATE TABLE banner_vast_element_seq (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)) TYPE=MYISAM]
[Native code: 1064]
[Native message: 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 'TYPE=MYISAM' at line 1]



 PEAR Error 

MDB2 Error: syntax error 
[Error message: on demand sequence banner_vast_element could not be created]



 PEAR Error 

DB_DataObject Error: [mdb2_error: message="MDB2 Error: syntax error" code=-2 mode=callback callback=pearErrorHandler prefix="" info="[Error message: on demand sequence banner_vast_element could not be created] "]

Open in new window

LVL 11
mattibuttAsked:
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.

Shinesh PremrajanEngineering ManagerCommented:
The problem seems to be at the MySQL end. Just check that your MySQL database supports the MYISAM type. It looks like its an InnoDB type.

Also you can execute the create statement directly in the Mysql and see that the table is created. If it is then there is some issues.

CREATE TABLE banner_vast_element_seq (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)) TYPE=MYISAM;

Paste the above code in the mysql client and execute it.

Hope this helps
mattibuttAuthor Commented:
hi
it was on mysql end i have modified the table by removing the engine and executed the query manually since the actual page started to work.

CREATE TABLE banner_vast_element_seq (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id))
Shinesh PremrajanEngineering ManagerCommented:
I think you have removed the critical error causing string from the command. See in MySQL there are two commonly used engines are there.

1)MYISAM
2)InnoDB.

The one you are using seems to be InnoDB, the cause of error message in your script.

you need to change that engine to MyISAM for the error to be fixed.

Hope this helps

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
mattibuttAuthor Commented:
i am fine for now since the problem is gone I will change the engine if i will encounter the problem again.

Thanks
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
Apache Web Server

From novice to tech pro — start learning today.