Mercurial > hg > private
changeset 0:8e907c11207a
using test db
author | Charlie Root |
---|---|
date | Wed, 16 Jan 2019 14:38:15 -0500 |
parents | |
children | d70fd5290b07 |
files | db.php |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db.php Wed Jan 16 14:38:15 2019 -0500 @@ -0,0 +1,10 @@ +<?PHP +global $link; +$link = mysqli_connect("localhost","bookwhac","Wedding2010","bookwhac_books", + null,"/run/mysqld_test/mysqld.sock"); +if (is_bool($link) or is_null($link)) { + include_once "dlog.php"; + dl("connect failed: |$link|\n"); + } +include_once "mq.php"; +?>