简体   繁体   English

apache mysql忘记密码

[英]apache mysql forgot password

I had setup a password when I installed apache, mysql etc. and now I forgot it. 我在安装apache,mysql等时设置了密码,但现在我忘记了。 How can I change it? 我该如何更改? Maybe create a new account? 也许创建一个新帐户? I just need access to the database. 我只需要访问数据库。

EDIT : I'm using it on ubuntu 编辑 :我在ubuntu上使用它

EDIT : I'd be okay with a destructive way also. 编辑 :我也可以采取破坏性的方式。 ie uninstall everyting then reinstall everything but that's also asking password and I don't want to reinstall the whole OS. 即卸载所有,然后重新安装一切,但这也要求输入密码,我不想重新安装整个操作系统。 :( :(

regarding the root password take a look here: 关于root密码,请看这里:

in case you are a user , ask the DB admin for a new one. 如果您是用户 ,请向数据库管理员咨询新的用户

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM