Posts: 5
Threads: 1
Joined: Jul 2017
Reputation:
0
Hello,
At first apologize for my english, i'm from Poland.
I have a problem, I can't connect with second database which is on other server.
Is there any solution to this?
Regards
Posts: 436
Threads: 18
Joined: Jan 2014
Reputation:
0
Sorry but we can't help you without any code, are you using 'local host' or under 'hosting' ?
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
There should be a file called "mysql_log.log" in the server directory. Post recent content here.
Posts: 5
Threads: 1
Joined: Jul 2017
Reputation:
0
ehh i'm not stupid ;p
on my pc i have it filled
Posts: 1,861
Threads: 103
Joined: Sep 2011
Reputation:
0
It might be worth mentioning that some systems that run MySQL servers block remote connections. In order to connect to those databases, you need to whitelist your IP on the DB host system. When I was using cPanel, remote connections got blocked.
By seeing this log, I'm not certain whether it's an issue of the connection failing, or an error being thrown from a query you're performing.
Posts: 5
Threads: 1
Joined: Jul 2017
Reputation:
0
@Famalamalam Could u make it more clear,please?
@Jstylezzz in phpmyadmin i enabled login from every ip, in mysql config on ubuntu i have commented bind-address. If i using only 1 connection (with second mysql server) all working, but if im trying connect to 2databases in this same time i have that error.