Home>

I'm a beginner using the server and WordPress soon
I am currently creating a WordPress site usingLocal, a local environment building software.

I'm trying to migrate from local by getting a new domain into the directory (public_html) where WordPress has already been installed on the production rental server.
However, an error etc. will appear on the way and the migration will not be successful.

Currently executed process, progress and error contents

1. Build WordPress using Local (site creation)
2. Get local environment database (export at specified site)
3. Import the exported sql file into the production environment
4). Download WordPress file officially and use FTP software (FileZilla)
Drag and drop upload
⇒ DB information in wp-config.php is changed to the production environment and uploaded.
5). Download the Search Replace DB software and upload it to the specified directory
Access the specified URL and batch URL replacement
⇒Currently an error occurs

http: // your domain name/Search-Replace-DB-master/index.php
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in/home/1406610891/test/public_html/testsite/Search -Replace-DB-master/srdb.class.php on line 861
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we ca n’t contact the database server at [server name]. This could mean your host ’s database server is down.
Are you sure you have the correct username and password?
Are you sure you have typed the correct hostname?
Are you sure the database server is running?
If i ’re unsure what these terms mean you should probably contact your host.If i still need help you can always visit the WordPress Support Forums.</Code></pre>
<p>I guess it was caused by just dragging and dropping WordPress<br />
Even if you try to install manually in the specified domain, the following error will occur.<br />
By the way, tools such as easy installation at the server site could not be used because they were already used in the built environment.</p>
<pre><code data-language = "URL">http: // your domain name/wp-admin/install.php
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we ca n’t contact the database server at [server name]. This could mean your host ’s database server is down.
Are you sure you have the correct username and password?
Are you sure you have typed the correct hostname?
Are you sure the database server is running?
If i ’re unsure what these terms mean you should probably contact your host.If i still need help you can always visit the WordPress Support Forums.


I don't know where it is, and how can I run multiple WordPresses in multiple domains?

Tell me

Spec information usage tool

Windows10 64bit
FTP software: FileZilla
Editor: Sublimetext3
Browser: GoogleChrome
Local environment software: Local
Environmental specifications
・ PHPVersion 7.3.2
・ WordPressVersion 5.3
・ My SQL 8.0.16
WordPressVersion uploaded to the production environment: 5.3