当前位置:Gxlcms > mysql > 在win2000下安装mysql完全版本_MySQL

在win2000下安装mysql完全版本_MySQL

时间:2021-07-01 10:21:17 帮助过:83人阅读

安装选默认目录就可以了 c:mysql
把 c:mysqlmy-example.cnf copy 为 c:my.cnf
要修改的自己去看看吧,很简单的
把 c:mysqllibcygwinb19.dll copy 到 winntsystem32
启动 mysql
c:mysqlinmysqld-shareware --install
net start mysql
启动啦
更改 root 的 password

C:mysqlinmysql mysql
mysql> UPDATE user SET password=PASSWORD(''your password'') WHERE user=''root'';
mysql> QUIT
C:mysqlinmysqladmin reload

去看看行了没有?
C:mysqlinmysqlshow
在这里应该显示:
+-----------+
| Databases |
+-----------+
| mysql |
| test |
+-----------+
看到这些信息这一步就OK了

再来:
C:mysqlinmysqlshow --user=root --password=your password mysql
在这里应该显示:
Database: mysql
+--------------+
| Tables |
+--------------+
| columns_priv |
| db |
| host |
| tables_priv |
| user |
+--------------+
看见就OK了。

C:mysqlinmysqladmin 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了,有问题就来找我吧

人气教程排行