I knew that we can set innodb as engine tables. But can we add this same create database query.
I tried this:
create database ‘mydb’ set engine=’Innodb’
but it throws error.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That concept does not exist: databases don’t have engines; tables do.
Update:
The closest you can achieve is to change the default engine for CREATE TABLE statements that don’t specify one, it’s explained at: http://dev.mysql.com/doc/refman/5.1/en/storage-engine-setting.html