I want to host a DDEV PHP project with XAMPP but I am getting an error, that the databse "db" could not be found. In DDEV, the values for host, username, password and database were 'db' but I dont know what I have to write now instead of 'db' to get XAMPP to work. I would like to change it somewhere in the configurations of XAMPP , so I dont have to change my connection.php script but if I have to change the connection.php script it will be also ok. I just dont know, with which values to replace the them.
1
There are 1 answers
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in XAMPP
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- 403 Forbidden Error when accessing any file or path
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Is there a solution to this problem in PHP?
- Updating PHP Version in XAMPP on Windows 10 Without Losing Database: Seeking Optimal Solutions
- how to setup php 8.3 with Apache on Loacl machine(in window 10)
- xampp-windows-x64-8.2.12-0-VS16-installer security issues
- XAMPP already installed on the MacBook, MySQL and phpMyAdmin not starting
- Auto redirect 127.0.0.1:8000 to 127.0.0.1:8000/app/
- Localhost Not Working After Creating Virtual Host in XAMPP
- Deploying a Spring Boot and Angular application on XAMPP on a different server
- Running a program on different computers with different users that access a central database simultaneously - VB.NET XAMPP/MySQL
- Access-Control-Allow-Origin error, even though cors is enabled
- laravel bootstrap/cache write permission
- "Setting Up Laravel on Windows with XAMPP and Composer: Best Practices?"
Related Questions in DDEV
- Install CA with mkcert on local DDEV site with non-sudo user
- How to install swoole on ddev?
- How can I use the Europe/Kyiv timezone in DDEV?
- Can two DDEV Laravel projects share a single database?
- Connect DDEV database to TYPO3 project
- Add Flask-WSGI routes to DDEV-Drupal project
- Why does DDEV keep downloading docker-compose-linux?
- How to get connection to elasticsearch server in local network inside ddev / Docker container
- DDEV: How can I add the pgvector extension to the postgres container?
- Exporting a database in ddev
- Is it possible to execute a command after the start of the "ddev-router" (traefik)?
- Can I change the DDEV default database version for Drupal?
- TYPO3: No template was found. View could not be section template
- Error message when starting ddev laravel: "Failed waiting for web/db containers to become ready: web container failed" (zfs)
- How to expose Redis port in DDEV?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
ddev is its own hosting system, so you wouldn't use anything about it with xampp. With xampp you'll need to
You don't mention what CMS you might be using or relevant information like that, so I can't give you a more complete answer.
But basically, if you know how to use xampp... use it. I think you'd find ddev easier to use, but that's up to you.