???????????MySQL
????http://dev.mysql.com/downloads/mysql/5.0.html
???????MySQL??F:Program FilesMySQL??MySQL?????
???????????my.ini
??????F:Program FilesMySQL?????my.ini??????????
????[mysqld]
????# ????mysql??????
????basedir=D:\Program Files\mysql-5.5.27-win32
????# ????mysql????????????????????????data????????\xxx-data
????datadir=D:\Program Files\mysql-5.5.27-win32\data
????# ????mysql?????????????????????
????default-character-set=utf8
????[client]
????# ????mysql???????????
????default-character-set=utf8
????[WinMySQLAdmin]
????# ???mysql???????????????
????Server=D:\Program Files\mysql-5.5.27-win32\bin\mysqld.exe
????user=root
???????????ó???????????????AscII????????????′???
????error: Found option without preceding group in config file:....
????--------------------------------------------------------
???????????MySQL?????MySQL?????????????????????
????1?????????in????У?
????F:Program FilesMySQLin>mysqld -install
?????????Service successfully installed. ????????????
???????????????
????F:Program FilesMySQLin>mysqld -remove
????2??????????
????HKEY_LOCAL_MACHINESystemCurrentControlSetServicesMySQLImagePath
??????????
????"F:Program FilesMySQLinmysqld" --defaults-file=
????"F:Program FilesMySQLmy.ini" MySQL
??????????????????net start mysql???????????MySQL??
??????????root????
????MySQL???úú????????????????????????????????????????????????root???????root????
????1?????MySQL root?????
????????MySQL?????in????У?
????F:Program FilesMySQLMySQL-6.0.7in>mysql -u root;
????2?????root????
????mysql> update mysql.user set password=PASSWORD('??????') where User='root';
????mysql> flush privileges;
?????????μ?????????????????????????????????????????????????
?????????ù????п???????????
????1????install mysql ????????????error: Found option without preceding group in config file
????????????my.ini ??????????????????AscII?????????±????ANSI?????
????2???????->????->?????????Mysql??????????
???????????????????mysql???? ????193 ??
????????????ο????????????????????mysql???? ????193 ????????
?????? sc delete mysql ????mysql?????ж????????mysqld -install mysql ???°????鼴?ɡ?
????3??????? mysql -u root ??????
????ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)
???????????10061????????????????????Mysql??????????????net start mysql???????????->????->?????????????Mysql????