MySQL安装失败


MySQL安装失败

文章插图
【MySQL安装失败】MYSQL安装出现could not start the service mysql error:0处理当各位在安装、重装时出现could not start the service mysqlerror:0的错误时,可以尝试下面两种方法 。一、方式1MySQL安装是出现could not start the service mysql error:0 提示错误,解决方法:首 先,在管理工具->服务里面将MySQL的服务给停止,然后打开cmd 进入你的MySQL bin目录下,例如 C:\Program Files\MySQL\MySQL Server 5.0\bin 然后使用如下命令mysqld-nt -remove 然后就会显示......success!好了下面进入添加删除程序,找到MySQL选择卸载,记得选择remove 。最后将MySQL目录删除,还有数据库的目录也删除 。一、方式2查看服务中有没有mysql,如果有将该服务停掉;安装mysql 5.1.33,在运行ServerInstance Configuration wizard时的Execute configurattion步骤中的第三项Start Service进出错,错误提示为Could not start the service MySQL (出现这种情况一般是因为装过mysql,卸载不干净造成的 。卸载后重启后再重装 。注意看下服务,如果未能卸载,可以用mysqld-nt -remove卸载) 。在控制面板中运行添加删除程序,将mysql卸载;卸载后打开注册表,查看HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services下的键值,如果有相关mysql键值(mysql、mysqladmin)则删掉,即可;重启,将mysql的安装残余目录删掉 (查看服务,此时服务中已没有mysql);重新安装mysql.安装后先不要运行ServerInstance Configuration wizard,重启后在开始菜单中运行该向导,即可 。windowsxp系统 mysql-5.0.81提示:1045 access denied for user 'root'@'localhost'using password yesMySQL 5.1 安装过程中报apply security setting错误的解决办法 收藏Mysql安装错误apply security settings 解决方法The securitysettings could not be applied to the database because the connection has failedwith the following error.Error Nr. 1045Access denied foruser 'root'@'localhost'(using password: YES)If a personalfirewall is running on your machine, please make sure you have opened the TCPport 3306 for connections. Otherwise no client application can connect to theserver. After you have opened the port please press [Retry] to apply thesecurity settings.If you arere-installing after you just uninstalled the MySQL server please note that thedata directory was not removed automatically. Therefore the old password fromyour last installation is still needed to connect to the server. In this caseplease select skip now and re-run the Configuration Wizard from the start menu.

    推荐阅读