预览模式: 普通 | 列表
最近不少用户反映换了空间之后导入数据时候出现错误,错误信息如下
引用:
Discuz! info: MySQL Query ErrorUser: xxxTime: 2005-7-14 12:31pmScript: /admincp.phpSQL: CREATE TABLE cdb_access ( uid mediumint(8) unsigned NOT NULL default '0', fid smallint(6) unsigned NOT NULL default '0', allowview tinyint(1) NOT NULL default '0', allowpost tinyint(1) NOT NULL default '0', allowreply tinyint(1) NOT NULL default '0', allowgetattach tinyint(1) NOT NULL default '0', PRIMARY KEY (uid,fid)) ENGINE=InnoDB DEFAULT CHARSET=latin1Error: 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' at line 1Errno.: 1064
可能信息不完全相同,但是基本类似解决办法如下:用纯文本处理软件(例如记事本之类)打开你备份的文件,这些文件一般是*.sql在这些文件里面找到
引用:
ENGINE = MYISAM DEFAULT CHARSET=latin1
这样的语句改为
引用:
TYPE=MYISAM
再找到
引用:
ENGINE = HEAP DEFAULT CHARSET=latin1
改为
引用:
TYPE= HEAP
修改好后存盘上传,然后再恢复数据就没有问题了
07-12
07

一些介绍国外空间的网站!

外国虚拟主机空间评测网
http://webhosting-cheap.info

国外虚拟主机目录
http://www.hostgood.net/

虚拟主机情报站
http://www.deal13.net



这里可以查国内外的排名情况:
http://www.webhosting.info/webhosts/tophosts/global/
07-12
07

命令行备份和恢复MySQL数据库

一、备份

如果 MySQL 用户有密码:

mysqldump -h localhost -u [MySQL 用户,如 root] -p[数据库密码] -c --add-drop-table --add-locks --all --quick --lock-tables [数据库名称] > sqldump.sql (在 -p 和密码之间没有空格!)

如果没有密码:

mysqldump -h localhost -u [MySQL 用户,如 root] -c --add-drop-table --add-locks --all --quick --lock-tables [数据库名称] > sqldump.sql

二、恢复

如果 MySQL 用户有密码:

mysql -h localhost -u [MySQL 用户,如 root] -p[数据库密码] [数据库名称]
07-12
07

网页加密、网页解密

http://www.it315.org/download/JavaScript/HtmlSecure.htm
一个不错的在线解密站
07-12
06

一个在线翻译日文网站的地方

http://www.excite.co.jp/world/chinese/web/
07-12
06

申请免费空间必备

Free-Domain-Name-Web-Hosting registering
环境变量探针下载&空间管理工具包&在线翻译&WEBFTP&代理

环境变量探针下载
齐全,含空间管理工具包
日期2004/5
http://www.cnfree.net/forum2/uploads/webmaster200405.rar
http://xoomer.virgilio.it/cnfree/webmaster200405.rar 下载2

免费HTTP/SOCKS代理网站/在线翻译网站/WEBFTP
http://www.cnfree.net/bbs/read.php?tid=820
http://www.cnfree.net:8080/bbs/read.php?tid=820
ccsee看中文-很好的日文翻译站点

http://trans.myany.com/trans/cn/default.asp
提供相当质量的日文网页在线翻译,可以直接看中文或者中日对照
站内亦有许多经过翻译的站点提供浏览

————————
更新阿江探针 V 1.72
更新COCOON ASP.NET 探针 1.0
更新asp.net 双向探针 v1.0 final
更新泽舟网jsp探针 v0.05
更新COCOON ASP 探针 2.9.00
加入8nm PHP超级服务器探针 v2.0
加入因扎吉ASP探针 V1.7
加入泽舟网php探针 v1.1
————————————————
韩国身份证生成器

http://newgame.17173.com/kor.htm

http://www.cnfree.net/index.php?blogid=8 日本人名/邮编/电话/翻译/代理/邮箱

http://www.cnfree.net/index.php?blogid=9 免费HTTP/SOCKS代理网站/在线翻译网站/WEBFTP

国外免费空间(免费资源)咨询站点

http://www.100-best-free-webspace.com/ 100 Best Free Webspace

http://www.clickherefree.com/cgi ... er=free-php-hosting Free-PHP-Hosting

http://www.webmastersden.com/ld. ... ng/Free&in=2386 Webmasters Den

http://www.clickherefree.com/cgi ... er=free-asp-hosting Free-ASP-Hosting

http://www.free-webhosts.com/ Free Webhosts

http://www.free-webspace.org/ Free Webspace

http://www.freewebspace.net/ Free Web Space.net

http://www.find-free-hosting.com/ Find Free Hosting

http://www.1freewebspace.net/ 1 Free Web Space

http://www.0php.com/ 0 PHP

http://www.freehostdirectory.com ... e.cgi?partner=RM123 Free Host Directory

http://www.oinko.net/freephp/?refid=512 The Free Asp Hosting Directory

http://www.clickherefree.com/cgi ... er=free-domain-name 000080>Free-Domain-Name-Web-Hosting

http://www.freeweblist.freeservers.com/ Free Web List

http://www.freewebspacereview.net/ Free Web Space Review

http://www.free-webmaster-resources.net/ Free Resources

http://www.free-webmaster-resources.net/ Freeware Guide

http://www.findmyfreehost.com/ Find My Free Host

http://www.free-webhosting.info/ Free Webhosting Info

http://www.0hosts.com/ 0 Hosts

http://www.free-web-space-finder.com/ Free Web Space Finder

http://www.free-web-site-page.com/ Free Website Page

http://www.freewebdir.com/ Free Web Dir

http://www.freewebsiteproviders.com/ Free Website Providers

http://www.netdepot.org/ Net Depot

http://www.webhosts4free.com/ Web Hosts 4 Free

http://www.saunalahti.fi/~aekman/taboom/free_webspace.html