老師好.
在作網站轉移時.到了第四.五步驟.搞不太清楚.出現以下錯誤碼.....又要請問老師ㄟ !.......
伺服器: localhost - 資料庫: ray_db
錯誤
SQL 語法:
-- phpMyAdmin SQL Dump
-- version 2.8.1
--
http://www.phpmyadmin.net--
-- 主機: localhost
-- 建立日期: Jul 09, 2006, 03:21 PM
-- 伺服器版本: 4.1.7
-- PHP 版本: 4.3.11
--
-- 資料庫: `ray_db`
--
-- --------------------------------------------------------
--
-- 資料表格式: `2lTpk_avatar`
--
CREATE TABLE `2lTpk_avatar` (
`avatar_id` mediumint( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
`avatar_file` varchar( 30 ) NOT NULL default '',
`avatar_name` varchar( 100 ) NOT NULL default '',
`avatar_mimetype` varchar( 30 ) NOT NULL default '',
`avatar_created` int( 10 ) NOT NULL default '0',
`avatar_display` tinyint( 1 ) unsigned NOT NULL default '0',
`avatar_weight` smallint( 5 ) unsigned NOT NULL default '0',
`avatar_type` char( 1 ) NOT NULL default '',
PRIMARY KEY ( `avatar_id` ) ,
KEY `avatar_type` ( `avatar_type` , `avatar_display` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =1;
MySQL 傳回: 說明文件
#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 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=1' at line 12