Jump to content

fail to build innodb table


orange08

Recommended Posts

hi, in my local pc, my code that create table with innodb engine is work properly. but, when i use the same piece of code in my web hosting to create the table...table is created with MyISAM...

 

so, can i know what's the problem here and how to solve it?

 

$tbl = "CREATE TABLE IF NOT EXISTS mytable(
tbl_id varchar(10),
user_name varchar(20),
PRIMARY KEY (tbl_id),
KEY search_tbl(tbl_id,user_name)

)ENGINE=INNODB";

Link to comment
https://forums.phpfreaks.com/topic/153614-fail-to-build-innodb-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.