[% SET CPANEL.CPVAR.dprefix = "../" %] [% Api2.pre_exec("MysqlFE", "listhosts"); SET hosts = Api2.exec("MysqlFE", "listhosts", {} ); Api2.post_exec("MysqlFE", "listhosts"); SET host_notes_call = execute("Mysql", "get_host_notes", {}); SET host_notes = host_notes_call.data; SET errors = []; errors = errors.merge(host_notes_call.errors); errors.push(CPANEL.CPERROR.mysqlfe) IF CPANEL.CPERROR.mysqlfe; %] [% WRAPPER '_assets/master.html.tt' app_key = 'remote_mysql' include_legacy_stylesheets = 1 include_legacy_scripts = 1 include_cjt = 1 page_scripts = ['js2-min/sql/managehost.js'] -%]
[% locale.maketext("Add a specific domain name to allow visitors to connect to your databases. Applications like bulletin boards, online shopping carts, and content management systems require databases to operate. For more information, read the [output,url,_1,documentation,target,_2,id,_3].", "//go.cpanel.net/RemoteMySql", "_blank", "lnkRemoteMySqlDocumentation") %]
| [% locale.maketext("Access Hosts") %] | [% locale.maketext("Comment") %] | [% locale.maketext("Remove") %] |
|---|---|---|
| [% host.host.html() %] | [%# A form was used here for the following reasons: - avoid sending data via url parameters - avoid a URI encoding issue with unicode characters, especially the poo emoji %] | |
| [% locale.maketext("There are no additional database access hosts configured.") %] | ||