How can I solve this and besides, Can someone explain me where this temporary config file is located?
This will be generated in the WordPress root folder, the same from where you call the wp-cli
.
Keep in mind you need to provide the correct username password and database name, else it will error.
If you error like:
$ wp core config –dbname=new_name –dbuser=bbb –dbpass=ccc –dbprefix=wp_ddd_
Error: The ‘wp-config.php’ file already exists.
Then simple move that file like:
mv wp-config.php wp-config2.php
Hope this helps.
Related Posts:
- How do I setup a WordPress site on a server before the domain is ready?
- wp core install database connection error
- Shortest possible shell script to install WordPress on Nginx server?
- Trying to install WordPress on WSL Windows 10, and running into issues with wp-cli and “wp db create”
- wp-cli installation
- wp-cli fails on installing to subdomain
- wp-cli setting home and siteurl to site.tldtld (double TLD)
- How to update WP-CLI on Windows via Composer?
- Homebrew install specific version of formula?
- Conda version pip install -r requirements.txt –target ./lib
- Conda version pip install -r requirements.txt –target ./lib
- Conda version pip install -r requirements.txt –target ./lib
- How can I create an MSI setup?
- extconf failed, exit code 1 error when installing [Ruby on Rails] 5 on OS X Yosemite 10.10.5
- Initialization Script for “Standard” Aspects of a WordPress Website?
- Populate content on install
- Are there any downsides to installing WordPress on Windows versus Linux?
- Installation problems on a domain-name-less server
- Install and configure WordPress while old site is still active
- How to Check the Directory Where WordPress is Installed?
- After moving wordpress some files still point to old directory
- URL to download latest version of WP for other languages than English
- Custom WordPress Installation
- Repeatable configuration package
- One WordPress install serving multiple virtual hosts
- Moving WordPress from live to local server
- Is it possible to install WordPress within WordPress installation?
- WordPress package configuration in Ubuntu Server?
- Can WordPress be installed at the root level, if a homepage called index.php already exists?
- No configuration file found and no installation code available. Exiting
- InfiniteWP installation fails – CONFIGURABLE MAX EXECUTION TIME DISABLED
- Multiple sites/domains on one database
- Sharing one WordPress installation between several “sites”?
- Backup blog posts only
- Reinstall WordPress from zero
- Importing wordpress. xml file on new installation
- Novice WordPress Installation issues
- Can my site use two different WordPress installs for different pages?
- Automate dir and DB stack creation with WP-CLI
- Can I clone WP to another directory on the same server?
- How to download WordPress 4.2.0
- Plugins try to install in old location [closed]
- How to work locally on a copy of my wordpress?
- When I try to install VersionPress, it tells me, “The package could not be installed. No valid plugins were found.”
- Missing wp-load.php on new install
- Automate specific steps on WordPress install
- Use new domain name on previously installed files of wordpress
- “Deprecated: mysql_connect()” error when installing Roots Bedrock
- Local WordPress installs don’t verfiy against wp-cli checksum check and how to fix that issue.
- How do I install more than one WordPress blog on EC2?
- Why does my localhost/wordpress not have a Link to Login Page
- WordPress composer issues
- Install WordPress with custom directory layout without breakting media upload
- WordPress in subfolder dont work
- Other than WP-CLI, is there a way to install WordPress via the command-line?
- How to edit an existing wordpress.org site
- Install with docker – can’t access port
- WP Installer Redirects to /wp-admin/core/install.php
- Installed WordPress Location
- how to return the wordpress path to the new site
- Version 3.04 or 3.5?
- Moving WordPress Site from MAMP to cPanel – How?
- What is a wordpress instance [closed]
- Moving WordPress from Root to a subfolder
- Reinstalling WordPress
- How to install WP alongside my existing site at a sub-directory (bradydjohnson.com/blog)?
- What are the pros & cons of a new wordpress installation vs fixing one that already exists?
- Installing WAMP and WordPress: Visual Studio 2013 or 2012? [closed]
- I moved my WordPress site to the main directory and now I can’t access my admin
- Things to take care before installing wordpress Manual v/s Softaculous
- Why is WordPress’ installer “phoning home” during the install script?
- Site blocked by WebSense on fresh WP Install
- Is it bad practice to install WordPress by cloning from the official GitHub repo?
- Is there a way to check which files are part of vanilla WordPress?
- Fresh installation of WordPress on CentOS produces critical error during installation
- Trying to make my home-made WordPress website visible by public network
- Delete all php files except WordPress core files?
- my client’s site is confused between WordPress.com and WordPress.org I think
- Installation failed: Destination folder already exists
- Installing WordPress to root directory with existing static site. Concerns?
- First time installing WordPress. Cant Access
- Fatal error: Class ‘Requests_Utility_CaseInsensitiveDictionary’ not Found in WordPress
- What is the “Quick and Dirty” way to transfer WordPress installation?
- WP-CLI wp theme install url PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
- CPU spikes to 100% site doesn’t load, VPS crashes after moving site
- Have non-wordpress page as root (and blog elsewhere)
- Incorrect Blog Root
- Installing WordPress into a user directory without any admin privileges
- Can figure out how to get wordpress to go .com not .com/directory
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Trying to increase WP Memory Limit
- Is it ok to have one wordpress installation for server.com and www.server.com?
- Are two installations of WordPress on the same domain (no subdomains) ok?
- I can access to my wordpress page at work and via cellphone, but when I get home, I can’t access to the website
- Multiple independent wordpress installs – 1 dedicated server – individual dedicated domain for each install. What is the best way to achieve this?
- WordPress desktop app shows blank screen
- Is php-mysql required for wordpress?
- Stuck downloading and extracting WordPress onto Ubuntu 22 LAMP server
- Backend working but not front
- Installing wordpress into the same directory as existing static html website