| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 898 人关注过本帖
标题:[求助]SQL数据道入的时候出现错误提示,数据库文件有问题
取消只看楼主 加入收藏
holianchao
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-4-25
收藏
 问题点数:0 回复次数:3 
[求助]SQL数据道入的时候出现错误提示,数据库文件有问题

错误
SQL 查询:

#
# ????浄ʽ?ݿℚȝ `alumni_config`
#
INSERT INTO `alumni_config` ( `id` , `name` , `value` )
VALUES ( 1, 'rowno', '5' ) , ( 2, 'colno', '3' ) , ( 3, 'swidth', '110' ) , ( 4, 'sheight', '110' ) , ( 5, 'adminmail', 'aet_cn@163.net' ) , ( 6, 'totalpm', '10' ) , ( 7, 'totalvister', '271' ) , ( 8, 'audionum', '10' ) , # --------------------------------------------------------
#
# ʽ?ݱ�?ṹ `alumni_forums`
#

DROP TABLE IF EXISTS `alumni_forums` ;

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 'DROP TABLE IF EXISTS `alumni_forums`' at line 11

这是错误提示,请大家帮我看看 怎么修改,附带远数据库文件

www.love-bar.cn/download/alumni.sql

[此贴子已经被作者于2007-10-4 11:07:19编辑过]

搜索更多相关主题的帖子: SQL 数据库 文件 alumni 
2007-10-03 21:32
holianchao
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-4-25
收藏
得分:0 
回复:(purana)在mysql里输入source d:\\\\alumni.sql...
运行没问题,那为什么我道入数据库去给我提示说,有错误呀?谢谢帮忙了 呵呵 ,在建一个同学录,请大家多多给点建议,谢谢了
2007-10-03 21:55
holianchao
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-4-25
收藏
得分:0 
回复:(purana)你用我上面的代码去替换你的文件就行...
谢谢你的帮助了  
2007-10-03 22:06
holianchao
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-4-25
收藏
得分:0 
回复:(purana)你用我上面的代码去替换你的文件就行...

大哥,在帮忙 ,谢谢了
现在我能到入数据了,但是安装同学录的时候在第二部的时候显示了这个,你能帮我看一下这是什么原因吗?谢谢


Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.taragon/lovebar/love-bar.cn/alumni/config.php on line 1

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.taragon/lovebar/love-bar.cn/alumni/config.php on line 1

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/.taragon/lovebar/love-bar.cn/alumni/config.php on line 1

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.taragon/lovebar/love-bar.cn/alumni/install/2.php on line 8

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/.taragon/lovebar/love-bar.cn/alumni/install/2.php on line 8

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.taragon/lovebar/love-bar.cn/alumni/install/2.php on line 9

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/.taragon/lovebar/love-bar.cn/alumni/install/2.php on line 9

[此贴子已经被作者于2007-10-4 11:16:03编辑过]

2007-10-04 11:05
快速回复:[求助]SQL数据道入的时候出现错误提示,数据库文件有问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017618 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved