fixed global var access
fixed sql standard error (null inserts)
add current mysql schema setup file