在win2000下安装mysql 的方法
时间:2023-05-14 20:46:41
安装选默认目录就可以了 c:\mysql 把 c:\mysql\my-example.cnf copy 为 c:\my.cnf 要修改的自己去看看吧,很简单的 把 c:\mysql\libcygwinb19.dll copy 到 winnt\system32 启动 mysql c:\mysql\bin\mysqld-shareware --install
安装选默认目录就可以了 c:\mysql
把 c:\mysql\my-example.cnf copy 为 c:\my.cnf
要修改的自己去看看吧,很简单的 把 c:\mysql\libcygwinb19.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\mysql\admin reload 去看看行了没有?
C:\mysql\bin\mysqlshow 在这里应该显示: +-----------+
Databases
+-----------+
+-----------+
mysql
Databases
+-----------+
mysql
test
+-----------+ 看到这些信息这一步就OK了
再来:
C:\mysql\bin\mysqlshow --user=root --password=your password mysql 在这里应该显示: Database: mysql
+--------------+
Database: mysql
+--------------+
Tables
+--------------+
columns_priv
db
host
tables_priv
user
+--------------+ 看见就行了。 C:\mysql\bin\mysqladmin version status proc 没有问题就应该可以看到这些信息: mysqladminmysqladminVer 8.0 Distrib 3.22.32, for Win95/Win98 on i586
TCX Datakonsult AB, by Monty Server version3.22.32-shareware-debug
Protocol version10
Connectionlocalhost via TCP/IP
TCP portlocalhost via TCP/IP
TCP port3306
Uptime:1 hour 29 min 30 sec Threads: 1Questions: 72Slow queries: 0Opens: 16Flush tables: 1Open tables: 0Memory in use: 16423KMax memory used: 16490K
Uptime: 5370Threads: 1Threads: 1Questions: 72Slow queries: 0Opens: 16Flush tables: 1Open tables: 0Memory in use: 16423KMax memory used: 16490K +----+------+-----------+----+---------+------+-------+------------------+
Id User Host db Command Ti State Info State Info
+----+------+-----------+----+---------+------+-------+------------------+
35 ODBC localhost Query 0 show processlist
+----+------+-----------+----+---------+------+-------+----------------- 接着,用show databases命令可以将安装的数据库列出来: mysql> show databases; 你就可以看到: +----------+ Database +----------+ mysql --- test --- ----------------------------------------------
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
WIN10系统蓝屏重启错误代码0x00000124解决方法
![](https://img.aspxhome.com/file/2023/3/a297082_0s.jpg)
Win10如何跳过TPM强制升级Win11?Win10强制升级Win11教程
![](https://img.aspxhome.com/file/2023/1/a282710_0s.png)
腾讯文档如何编辑序号?
![](https://img.aspxhome.com/file/2023/7/a329003_0s.jpg)
六亿宝贝反黄软件如何卸载(传统方法不行)
![](https://img.aspxhome.com/file/2023/3/15543_0s.jpg)
工作中经常会用到的八个IF函数使用方法详解
剪映Windows电脑版曲线变速在哪?怎么使用剪映的曲线变速?
![](https://img.aspxhome.com/file/2023/7/a328797_0s.jpg)
win10打红警图框很小怎么办-win10打红警图框很小解决方法
![](https://img.aspxhome.com/file/2023/2/a289315_0s.jpg)
Excel中同时打开两个独立窗口的操作方法
wps如何设置页边距
TIM怎么取消聊天窗口置顶?
![](https://img.aspxhome.com/file/2023/8/a339827_0s.jpg)
腾讯会议怎么在会议里面改名字?
![](https://img.aspxhome.com/file/2023/30/a265293_0s.jpg)
爱奇艺没有弹幕了?爱奇艺什么时候恢复弹幕?
![](https://img.aspxhome.com/file/2023/30/a266824_0s.jpg)
Excel代码教程 模板文件填充数据另存为一个文件
wps如何设置为默认打开方式
iOS 13 中的“定位服务”有哪些保护用户隐私的设置?
![](https://img.aspxhome.com/file/2023/5/a196465_0s.jpg)
用word插入的表格如何打印成彩色的
![](https://img.aspxhome.com/file/2023/6/18916_0s.jpg)
ToDesk如何使用?
![](https://img.aspxhome.com/file/2023/9/a341673_0s.png)
Win11没有亮度调节怎么办?Win11没有亮度调节的解决方法
![](https://img.aspxhome.com/file/2023/27/a236634_0s.jpg)
Win7怎么设置任务栏透明?Win7设置任务栏透明的方法
![](https://img.aspxhome.com/file/2023/26/a228415_0s.png)
Windows7桌面时钟如何添加?时钟小工具的添加方法
![](https://img.aspxhome.com/file/2023/27/a229896_0s.jpg)