posts - 6,  comments - 3,  trackbacks - 0

    最近由于做一个小型的项目,用到了Mysql,遇到了一些问题,到网上google了一下,找到了一些解决的方法,希望对您有些帮助,呵呵。 

1.       在安装Mysql之后,在service里面没有出现mysql的服务
        C:\mysql\bin\mysqld –install
        C:\mysql\bin\mysqld-nt –standalone (不想把 mysql 作为一个服务启动)

2.       当把 mysql 安装到 c 盘意外的地方的时候,启动 mysql 会报错: 1067

解决方案:
you seemed have your mysql installed in windows. so this problem may becaused if you're not installing mysql in c:\mysql.

you can simply copy all files to c:\mysql   or
create a file call my.ini(store it in %windows%) OR my.cnf (store it in c:\) and the followingcontent should be in the file
assume you have mysql ind:\mysql

[mysqld]
#set basedir to the installationpath
basedir=d:/mysql
datadir=d:/mysql/data

note that the forward slashes (/) are being used.

posted on 2006-06-13 15:43 Java&Inter 阅读(172) 评论(0)  编辑  收藏 所属分类: 数据库技术

只有注册用户登录后才能发表评论。


网站导航:
 

<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

常用链接

留言簿(1)

随笔分类(3)

随笔档案(6)

文章分类(24)

文章档案(22)

收藏夹(2)

经常去的Blog

  • Eclipse/GEF
  • 关于Eclipse插件(plugins)开发的心得,主要包括:SWT/JFACE/GEF/EMF/RCP

搜索

  •  

最新评论

阅读排行榜

评论排行榜