Quote:
Originally Posted by code green
Are the tables InnoDB?
hiya code green,
how do i check if my tables are innoDB or no..
cause i tried creating a new database and then executing the following command, and it should (as i believe) create a table under InnoDB engine,
please see if that is perfect ?
- CREATE TABLE pop (id INT, age vachar (20), INDEX (id)) ENGINE=InnoDB;
thanks
Cheers!!
Realin !
############# EDIT ###############
hey hey,
i guess i got the issue here,
well i am using two tools to create tables and to manipulate mysql database, they are
Mysql query tools
phpmyadmin
Now when i fired the query (read from mysql website)
- SHOW TABLE STATUS FROM test2 LIKE 'pop'
i could figure out that, the line of code written below does not create table under InnoDB engine, rather it creates table under MyISAM engine, which does not support TRANSACTIONS.
- CREATE TABLE pop (id INT, age vachar (20), INDEX (id)) ENGINE=InnoDB;
pheeeeeeeeewwwww (deep breathe)
Well, i guess now i gotta search a way to make tables in InnoDB instead of MyISAM engine..
When i try altering the table, it just do not let me do that and instead gives an error saying
2014 Commands out of sync; you can't run this command now
well, if some gets to know, what this all is happening, i will be thankful :)
Ronald, i really thank you mann for every single LOC :0
thanks & cheers to every1 :)
Realin !