[英]Where can I locate database credentials in Xampp?
I'm working on a project and trying to host this with Xampp.我正在处理一个项目并尝试使用 Xampp 托管它。 It says I need to modify the app/config/config.php file according to my database credentials and also my root url.
它说我需要根据我的数据库凭据以及我的根 url 修改 app/config/config.php 文件。 I don't know where to locate these credentials in Xampp.
我不知道在 Xampp 中哪里可以找到这些凭据。 Can someone help me please?
有人能帮助我吗?
If your Xampp is installed locally, then http://localhost/phpmyadmin is where you can see/define accounts.如果您的 Xampp 安装在本地,那么您可以在http://localhost/phpmyadmin中查看/定义帐户。
In your case, you need to set the root account ( as seen here ).在您的情况下,您需要设置 root 帐户(如下所示)。
Then you can reports those credentials (root+root-passwrd) to your config.php file.然后您可以将这些凭据(root+root-passwrd)报告给您的 config.php 文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.