How to install mysql under win2000

  

Install the default directory to c:\\mysql Put c:\\mysql\\my-example.cnf copy as c:\\my.cnf
To modify it yourself, look at it very simply :\\mysql\\libcygwinb19.dll copy to winnt\\system32 Start mysql c:\\mysql\\bin\\mysqld-shareware --install net start mysql Start up change root password C:\\mysql\\bin\\mysql mysql mysql> UPDATE user SET Password=PASSWORD('your password') WHERE user='root'; mysql> QUIT C:\\mysql\\bin\\mysql\\admin reload Go and see if it works? C:\\mysql\\bin\\mysqlshow should show here: +-----------+ Databases +-----------+ +--------- --+ mysql Databases +-----------+ mysql test +-----------+ Seeing this information is OK again: C:\\mysql\\bin \\mysqlshow --user=root --password=your password mysql should be displayed here: Database: mysql +--------------+ Database: mysql +-------- ------+ Tables +--------------+ columns_priv db host tables_priv user +--------------+ See it. C:\\mysql\\bin\\mysqladmin version status proc No problem should be able to see this information: mysqladmin 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 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: 5370Threads: 1 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 Ti State Info State Info +----+------+--------- --+----+---------+------+-------+----------------- -+ 35 ODBC localhost Query 0 show processlist +----+------+-----------+----+---------+- -----+-------+----------------- Next, use the show databases command to list the installed databases: mysql> show databases; You can see: +----------+ Database +----------+ mysql --- test --- ----------- -----------------------------------

Copyright © Windows knowledge All Rights Reserved