mirror of
https://github.com/kvazar-network/crawler-full-node.git
synced 2025-01-22 12:54:14 +00:00
define database object
This commit is contained in:
parent
bff3f224aa
commit
372b6fdd19
@ -1,7 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MySQL {
|
class MySQL {
|
||||||
|
|
||||||
|
private $_db;
|
||||||
|
|
||||||
public function __construct($host, $port, $database, $username, $password) {
|
public function __construct($host, $port, $database, $username, $password) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user