最近由于做一个小型的项目,用到了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 阅读(180)
评论(0) 编辑 收藏 所属分类:
数据库技术