Quantcast
Channel: Plesk Forum
Viewing all articles
Browse latest Browse all 45797

How to connect "Plesk remote db from other host"

$
0
0
I'm working on a CakePHP project which requires the db connected to plesk remote mysql server. If I use below db configuration example

'port' => '3306',
'host' => 'xxx.xxx.xxx.xxx',
'username' => 'usernmae',
'password' => 'pass',
'database' => 'db',

When I run the app getting mysql error connection timeout.

What I have tried so far:

1. Tools & Settings > Database Servers > ALLOW REMOTE CONNECTIONS FROM ANY HOST
2. Databases > Database Users > ALLOW REMOTE...

How to connect "Plesk remote db from other host"

Viewing all articles
Browse latest Browse all 45797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>