• Support
  • sql host to access database from another server

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

    admin2020

    1. Release your port 3306 in the system firewall plugin for the IP you need to access

    2. add allowed access IP In the database management page permissions

    aaPanel_Jose
    i meen url of host to access database from website on another server
    'connectionString' => 'mysql:host=localhost;dbname=000',
    mysql:host=?????

      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