pip install flyvar
import flyvar
db = flyvar.Server(host='127.0.0.1',port=18012)
import flyvar
db = flyvar.Server()
db.Run()
import flyvar
db = flyvar.Server(host='127.0.0.1',port=18012)
db.CreateDataBase('testdatabase','testuser','password')
import flyvar
database = flyvar.Database()
import flyvar
database = flyvar.Database()
database.connect(
host='127.0.0.1',
port=18012,
name='testdatabase',
user='testuser',
password='password'
)
[+] Welcome use Flyvar
[~] Successfully connected
[+] Downloaded identity certificate:ecc4ba55675b0dd7586171fcea38685ea838b98b64bcbb9b2625bc1be5284bab
[+] Welcome use Flyvar
[-] Connection failed, please check the network or address
[+] Welcome use Flyvar
[~] Successfully connected
[-] Connection failed, please check the address or databasename
[+] Welcome use Flyvar
[~] Successfully connected
[-] Connection failed, please check the username or password