安裝選默認目錄就可以了 c:\MySQL
把 c:\MySQL\my-example.cnf copy 為 c:\my.cnf
要修改的自己去看看吧,很簡單的
把 c:\MySQL\lib\cygwinb19.dll copy 到 winnt\system32
啟動 MySQL
c:\mysql\bin\MySQLd-shareware --install
net start MySQL
啟動啦
更改 root 的 passWord
C:\mysql\bin\mysql MySQL
MySQL> UPDATE user SET password=PASSWORD('your passWord') WHERE user='root';
MySQL> QUIT
C:\mysql\bin\MySQLadmin reload
去看看行了沒有?
C:\mysql\bin\MySQLshow
在這裡應該顯示:
+-----------+
| Databases |
+-----------+
| MySQL |
| test |
+-----------+
看到這些信息這一步就OK了
再來:
C:\mysql\bin\mysqlshow --user=root --password=your passWord MySQL
在這裡應該顯示:
Database: MySQL
+--------------+
| Tables |
+--------------+
| columns_priv |
| db |
| host |
| tables_priv |
| user |
+--------------+
看見就OK了。
C:\mysql\bin\MySQLadmin version status proc
沒有問題就應該可以看到這些信息:
MySQLadmin Ver 8.0 Distrib 3.22.32, for Win95/Win98 on i586
TCX Datakonsult AB, by Monty
Server version 3.22.32-shareware-debug
Protocol version 10
Connection localhost via TCP/IP
TCP port 3306
Uptime: 1 hour 29 min 30 sec
Threads: 1 Questions: 72 Slow querIEs: 0 Opens: 16 Flush tables: 1 Open tables: 0 Memory in use: 16423K Max memory used: 16490K
Uptime: 5370 Threads: 1 Questions: 72 Slow querIEs: 0 Opens: 16 Flush tables: 1 Open tables: 0 Memory in use: 16423K Max memory used: 16490K
+----+------+-----------+----+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+------+-----------+----+---------+------+-------+------------------+
| 35 | ODBC | localhost | | Query | 0 | | show processlist |
+----+------+-----------+----+---------+------+-------+------------------+
沒有問題就OK了,有問題就來找我吧