Connect local site to remote online db
-
define(‘DB_NAME’, ‘databasename’);
/** MySQL database username */
define(‘DB_USER’, ‘databaseuser’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘dbpassword’);/** MySQL hostname */
define(‘DB_HOST’, ‘https://mysite.com’);i defined above in my wp-config.php at my local setup is i need something else to connect with as i think linode need some more things to connect to remote like private IP if yes where to use it .
We can add the private IP as i did earlier but where to use it locally so that i can use it locally.
Is it need ssh tunneling or ssh tunneling used the main IP of node of linode.
Or it is need to my ip to remote access on server as i don’t have C panel how i can do it via putty or ssh.
Thanks please help to connect
- The topic ‘Connect local site to remote online db’ is closed to new replies.