mysql 登录时闪退的问题解决方法
之前mysql用着好着,可是今天在启动mysql后输入密码出现了闪退,在任务管理器中发现mysql服务没有启动,当手动启动时提示拒绝访问。在网上查找原因发现问题所在。
问题原因:mysql服务没有安装。
解决办法:
在cmd操作下找到mysql的安装目录(注意要用管理员身份运行cmd)
在 mysql bin目录下 以管理员的权限 执行 mysqld -install命令
然后仍然以管理员的权限 net start mysql 开启Mysql服务了。
输
1.新建用户wwweee000
[rootlocalhost ~]# useradd wwweee000
[rootlocalhost ~]# passwd wwweee000
Changing password for user wwweee000.
New password:
BAD PASSWORD: The password is a palindrome
Retype new password:
passwd: all authentication tokens updated su
使用MySQL Administrator 登录,报错: Either the server service or the configuration file could not be found.Startup variable and service section are there for disabled. 使用Root 登录进去以后看到管理功能都是禁止掉的,提示: This section is only avaliable when connected to localhost