MySQL aldaag yaj zasah ve?

Linux, UNIX, WAP, Wireless, FLash, Java, Apache, XWindow, SQL, MySQL, ORACLE etc ..
Help хүссэн хүмүүс эхлэн суралцагчид өгөх зөвөлгөө
Линукс дээр гарсан Асуудлууд

Зохицуулагч: Unix mods

Хэрэглэгчийн аватар
ibatbayar
Шинэков Гишvvн
Шинэков Гишvvн
Бичлэгүүд: 2
Нэгдсэн: 1-р сар.16.13 2:37 pm

MySQL aldaag yaj zasah ve?

Бичлэг Бичсэн ibatbayar »

phpmyadmin dotoroo sql database oruulah gesen chin

Error
SQL query:

-- Table structure for table `area` -- CREATE TABLE `area` ( `id` int(10) unsigned NOT NULL auto_increment, `x1` int(11) NOT NULL default '0', `y1` int(11) NOT NULL default '0', `x2` int(11) NOT NULL default '0', `y2` int(11) NOT NULL default '0', `url` varchar(80) NOT NULL default '', `title` varchar(80) NOT NULL default '', `name` varchar(80) NOT NULL default '', `email` varchar(80) NOT NULL default '', `amount` varchar(20) NOT NULL default '', `cnf_check` int(11) NOT NULL default '0', `image_id` varchar(120) NOT NULL default '', `img_name` varchar(40) NOT NULL default '', `img_type` varchar(40) NOT NULL default '', `img_filesize` varchar(40) NOT NULL default '', `img_content` blob NOT NULL, `paypal_txn_id` varchar(50) NOT NULL default '', `clicks` int(10) NOT NULL default '0', `reg_date` datetime NOT NULL default '0000-00-00 00:00:00', `expires_on` datetime NOT NULL default '0000-00-00 00:00:00', `comment` text NOT NULL, `mouseover_img`[...]

MySQL said:

#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 'TYPE=MyISAM AUTO_INCREMENT=934411739' at line 32


iim aldaa garaad bh yma eniig zasah arga bnu??
drakula
Жирийн Нэгэн Гишvvн
Жирийн Нэгэн Гишvvн
Бичлэгүүд: 11
Нэгдсэн: 7-р сар.15.08 8:27 pm

Re: MySQL aldaag yaj zasah ve?

Бичлэг Бичсэн drakula »

TYPE=MyISAM хэсгийг ENGINE=MyISAM болгоод өөрчилчих.
Сэтгэгдэл хариулах

“Linux, Unix and *nix” руу буцах