Last active
October 11, 2021 16:22
-
-
Save andreibabor/1f628612ad0b16292a98d4d1ab2538d9 to your computer and use it in GitHub Desktop.
Wordpress Update Database from shell comand promp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open Putty | |
Insert Shared IP Address take it from Cpanel Ex:67.225.255.208 | |
login with FTP credentials | |
Insert db to the public_html folder | |
add this command | |
mysql -u otechcheckmatepr_staging -h localhost -p otechcheckmatepr_staging < public_html/staging/otechcheckmatepr_staging.sql | |
You just have to replace SQL_FILE_PATH with the file name along with the relative or absolute path | |
or | |
Try replacing localhost with 127.0.0.1 | |
the password to login is this one /** MySQL database password */ take it from wp-config and not FTP password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
public_html/staging/otechcheckmatepr_staging.sql reprezinta calea unde este fisierul este salvat pe server