简体   繁体   English

我在哪里可以找到 Xampp 中的数据库凭据?

[英]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.

相关问题 在哪里可以找到PHPMyAdmin中MySQL数据库PHP连接的确切凭据? - Where can I locate exact credentials for MySQL Database PHP connection in PHPMyAdmin? 如何在laravel中找到数据库逻辑? - Where to locate database logic in laravel? 如何将外部数据库(xampp)中的listView填充为片段? - how can I populate a listView from an external database (xampp) into a fragment? 我无法使用xampp访问本地主机中的数据库 - I can't access my database in localhost using xampp 在哪里可以找到我的PHP for Google App保存的凭据 - Where can I find the saved credentials for my PHP for Google App 我应该在哪个目录中找到PHP项目以使其与XAMPP一起使用? - Which directory should I locate the PHP project in to make it work with XAMPP? 如何避免在代码中的多个位置存储数据库凭据? - How can I avoid storing database credentials in multiple places in the code? 即使我在Xampp上键入正确的凭据,phpMyAdmin也无法正常工作 - phpMyAdmin not working even i type correct credentials on Xampp 我可以在XAMPP上管理我的数据库,但否则无法访问它 - I can admin my database on XAMPP but I can't access it otherwise PHP 应用程序的数据库登录凭据的存储位置 - Where to store database login credentials for a PHP application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM