Service Description:
Follow these detailed steps to upload a large WordPress database via SSH using the PuTTY application:
- Upload your database file to the File Manager (public_html) folder.
- Create a new database.
- Create a new user for the database.
- Add the user to the database and enable all privileges.
- Go to the SSH Access section.
- Click on Manage SSH Keys.
- Create a Public Key, then click manage and authorize it.
- Download the Private Key after converting it using a passphrase (password) and save it on your device.
- Go to cPanel again and click on Manage SSH to get your login info:
- Server IP:
- Username:
- SSH port:
- Download the PuTTY application from here.
- Create a new profile using Server IP, Username, and SSH port.
- Go to the Connection, Auth, Credentials, and upload the private key you downloaded previously.
- Connect using your USERNAME.
- Enter your password.
- Enter the first command:
cd /home/username/public_html
(replace/home/username/
with your Home Directory). - Enter the second command:
mysql -u database_username -p database_name < file.sql
(replacedatabase_username
with your database username,database_name
with your database name, andfile.sql
with your database file name uploaded to the public_html folder). - You will be asked to enter your database password. Paste it and press enter.
Note: The passwords will not be displayed as a security measure when using SSH access via PuTTY. Just copy and paste it, and it will work
.