from sqlalchemy import create_engine;
from server import DB, FlaskServer;

engine = create_engine('mysqli://username:password@localhost/database) #set username, password, and database 

#Import flask libraries
import json, re, os, datetime, paypalrestsdk, logging;#Import general libraries
from flask import Flask, jsonify, request, render_template, send_from_directory;
from flask_socketio import SocketIO, send, emit, join_room, leave_room, close_room;
from flask_mail import Mail, Message;
from flask_socketio import join_room;
from flask_sqlalchemy import SQLAlchemy;
from sqlalchemy import create_engine;
from PIL import Image;
from logging.handlers import RotatingFileHandler;
from logging import Formatter;
import environment, recorder;#Import custom libraries
FlaskServer = Flask(__name__);#Dynamic web server
Interactive = SocketIO(FlaskServer);#Socket handler
FlaskServer.config.from_object(os.getenv("SERVER_ENV") if os.getenv("SERVER_ENV") else "environment.Testing");
Mailer = Mail(FlaskServer);#Mail handler
DB = SQLAlchemy(FlaskServer);#Sqlalchemy database handler
import models;

engine = create_engine('mysqli://tcid:tcid@localhost/tcid) #set username, password, and database 

Update server.py