\it\thecsea\mysqltcs\connections\utilsMysqlUtils

Class MysqlUtils

Summary

Methods
Properties
Constants
sslConnect()
connect()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

sslConnect()

sslConnect(string  $host, string  $user, string  $password, string  $name, string  $key, string  $cert, string  $ca) : \mysqli

Init a mysqli connection over SSL

Parameters

string $host
string $user
string $password
string $name
string $key
string $cert
string $ca

Throws

\it\thecsea\mysqltcs\connections\utils\MysqlUtilsException

Returns

\mysqli

connect()

connect(string  $host, string  $user, string  $password, string  $name) : \mysqli

Init a normal mysqli connection

Parameters

string $host
string $user
string $password
string $name

Throws

\it\thecsea\mysqltcs\connections\utils\MysqlUtilsException

Returns

\mysqli