index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-04-11 16:48:09 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-11 16:48:09 +0200 |
commit | 7e8a1abfd39586cdaecdfeacd9a7349115b45247 (patch) | |
tree | bef3ff66104457ab7056e73bf4698bb7b9cb35ea /web-scripts/packages.php | |
parent | 044f83dea8fa8a4d3ca4fe7c0dfa54b64c1c382c (diff) |
-rw-r--r-- | web-scripts/packages.php | 4 |
diff --git a/web-scripts/packages.php b/web-scripts/packages.php index b8b5dda..b7c0196 100644 --- a/web-scripts/packages.php +++ b/web-scripts/packages.php @@ -1,11 +1,11 @@ <?php - $mysql = new mysqli("localhost", "http", "http"); + $mysql = new mysqli("localhost", "webserver", "empty", "buildmaster"); if ($mysql->connect_error) { die("Connection to mysql database failed: " . $mysql->connect_error); } - $result = $mysql -> query("SELECT * FROM buildmaster.binary_packages"); + $result = $mysql -> query("SELECT * FROM `binary_packages`"); if ($result -> num_rows > 0) { while($row = $result->fetch_assoc()) { foreach ($row as $key => $val) { |