所在的位置: mysql >> mysql资源 >> mysql8031winx64

mysql8031winx64

操作系统:WindowsServerDatacenter1.安装包mysql-8.0.31-winx64.zip下载后解压到D:\2.以管理员身份打开“命令提示符”,因为这里要添加服务,不是管理员的话,权限不够,会报错。3.CDD:\mysql-8.0.31-winx64\bin4.mysqld--installmysql3.netstartmysql5.mysql-uroot-p上一步创建的临时密码6.修改密码setpassword="7.设置环境变量添加:MYSQL_HOME=D:\mysql-8.0.31-winx64PATH最后添加上:;%MYSQL_HOME%\bin;其它1.如果以前安装过,使用相同目录,注意移除目录下my.ini文件与data目录2.如果报出现缺少dll文件错误,下载近年内对应VC++库,如:-这个。3.删除服务(先停止服务netstopmysql)mysqldremove过程:D:\cdmysql-8.0.31-winx64\binD:\mysql-8.0.31-winx64\binmysqld--initialize--user=mysql--console-09-12T08:33:41.Z0[System][MY-][Server]D:\mysql-8.0.31-winx64\bin\mysqld.exe(mysqld8.0.31)initializingofserverinprogressasprocess5980-09-12T08:33:41.Z1[System][MY-][InnoDB]InnoDBinitializationhasstarted.-09-12T08:33:44.Z1[System][MY-][InnoDB]InnoDBinitializationhasended.-09-12T08:33:47.Z6[Note][MY-][Server]Atemporarypasswordisgeneratedforroot

localhost:kqEXp2WramSD:\mysql-8.0.31-winx64\binmysqld--installmysqlServicesuccessfullyinstalled.D:\mysql-8.0.31-winx64\binnetstartmysqlmysql服务正在启动..mysql服务已经启动成功。D:\mysql-8.0.31-winx64\binmysql-uroot-pEnterpassword:************Wel


转载请注明:http://www.aierlanlan.com/rzgz/6281.html