hello
what is the default sql host link here
how i set permissions to access database external ip and localhost in the same time
i am using cloudflare and website has the cloudflare ip address
thank you
sql host to access database from another server
Release your port 3306 in the system firewall plugin for the IP you need to access
add
allowed access IP
In thedatabase
management pagepermissions
thank you
what is the default sql host url? to connect it external
admin2020
You mean phpmyadmin?
This is because phpmyadmin is actually connected to mysql locally via
aaPanel_Jose
i meen url of host to access database from website on another server
'connectionString' => 'mysql:host=localhost;dbname=000',
mysql:host=?????
admin2020
I don't quite understand what you want.
If you are using php7 this is a connection example. .
$mysqli = new mysqli("1.1.1.1", "root", "", "test");
thank you
hello
even after do all that i got this error
Warning: mysqli_connect(): (HY000/2002): Connection timed out
admin2020
Does the cloud host you use have a security group?
If yes, you need to release port 3306 in the security group