<?php
require_once "../../../maincore.php";
require_once INFUSIONS."dayz_whitelist/config_dayzdb.php";
if (!checkrights("DAZW") || !defined("iAUTH") || $_GET['aid'] != iAUTH) { redirect("../../index.php"); }
$testlink = dbconnect($db_host_test, $db_user_test, $db_pass_test, $db_name_test);
unset($db_host_test, $db_user_test, $db_pass_test);
$result = dbquery("INSERT INTO test (id, test) VALUES ('', '55')");
?>
<?php
// database settings
$db_host_test = "mysql1099.servage.net";
$db_user_test = "testuser";
$db_pass_test = "********";
$db_name_test = "testdb";
?>
Quote
From Servage Wiki
How can I remote MySQL database?
We allow from all newest clusters to select a remotable MySQL database. Please note, the server can be accessed from remote clients. We recommend the normal MySQL v5 instead as it is more reliable and provides better performance.
You can access your databases in your admin controlpanel "MySQL > Databases" select the Databasename to view your Database in phpMyAdmin.
Quote
JoiNNN wrote:
Most hosting companies don't allow external/remote connection to MySQL, check this thing 1st.
Category Forum
Panels and InfusionsLabels
None yet
Statistics
5 participants
Notifications
You are not receiving notifications from this thread.
Related Questions